Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 174.3 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 213.4 MB, free: 13.78 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009389/0.0009387, allocations: 90.83 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08987/0.08987, allocations: 12.19 MB / 321.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3444/0.3444, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.677e-05, allocations: 0 / 0.5143 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 69.24 MB / 0.5819 GB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.612/0.7422, allocations: 99.71 MB / 0.6792 GB, free: 8.824 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.7426, allocations: 90.62 kB / 0.6793 GB, free: 8.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0581/0.8007, allocations: 21.2 MB / 0.7 GB, free: 7.301 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.8008, allocations: 0 / 0.7 GB, free: 7.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.309e-05/0.8009, allocations: 15.94 kB / 0.7 GB, free: 7.285 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004011/0.8049, allocations: 1.27 MB / 0.7013 GB, free: 6.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.065e-05/0.805, allocations: 8.031 kB / 0.7013 GB, free: 6.039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.8076, allocations: 388.5 kB / 0.7017 GB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.8092, allocations: 0.6166 MB / 0.7023 GB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.8095, allocations: 125.7 kB / 0.7024 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.8096, allocations: 32 kB / 0.7024 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/0.8108, allocations: 0.5542 MB / 0.703 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.812, allocations: 0.6202 MB / 0.7036 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.812, allocations: 0 / 0.7036 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.8121, allocations: 0 / 0.7036 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.8121, allocations: 12 kB / 0.7036 GB, free: 4.238 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.8178, allocations: 2.789 MB / 0.7063 GB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.8314, allocations: 3.697 MB / 0.7099 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/0.8323, allocations: 378.6 kB / 0.7103 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.8325, allocations: 16.48 kB / 0.7103 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.8325, allocations: 38.81 kB / 0.7103 GB, free: 14.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 5.31e-06/0.8325, allocations: 0 / 0.7103 GB, free: 14.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005958/0.8385, allocations: 1.889 MB / 0.7122 GB, free: 12.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.8386, allocations: 85.67 kB / 0.7122 GB, free: 12.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.8399, allocations: 0.6243 MB / 0.7129 GB, free: 12.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.84, allocations: 25.7 kB / 0.7129 GB, free: 12.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.8404, allocations: 387.2 kB / 0.7132 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.8407, allocations: 220.5 kB / 0.7135 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.8407, allocations: 0 / 0.7135 GB, free: 11.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8409, allocations: 339.3 kB / 0.7138 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.8414, allocations: 327.6 kB / 0.7141 GB, free: 11.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.842, allocations: 412.4 kB / 0.7145 GB, free: 11.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.8427, allocations: 363.3 kB / 0.7148 GB, free: 10.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8427, allocations: 3.938 kB / 0.7148 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006347/0.849, allocations: 2.128 MB / 0.7169 GB, free: 9.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.8494, allocations: 0.6143 MB / 0.7175 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.8494, allocations: 0 / 0.7175 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003997/0.8534, allocations: 1.008 MB / 0.7185 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.8542, allocations: 103 kB / 0.7186 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/0.863, allocations: 4.31 MB / 0.7228 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8646, allocations: 103.4 kB / 0.7229 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/0.8647, allocations: 26.56 kB / 0.7229 GB, free: 4.219 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8647, allocations: 4 kB / 0.7229 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006433/0.8711, allocations: 2 MB / 0.7249 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.8712, allocations: 4 kB / 0.7249 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/0.8753, allocations: 1.002 MB / 0.7259 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.8761, allocations: 102 kB / 0.726 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.8846, allocations: 4.295 MB / 0.7302 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.886, allocations: 99.38 kB / 0.7303 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/0.8861, allocations: 23.3 kB / 0.7303 GB, free: 14.32 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004157/0.8865, allocations: 124.5 kB / 0.7304 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005467/0.892, allocations: 1.897 MB / 0.7323 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.8923, allocations: 86.97 kB / 0.7323 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005517/0.8978, allocations: 1.97 MB / 0.7343 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.8979, allocations: 4 kB / 0.7343 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.8979, allocations: 4 kB / 0.7343 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8979, allocations: 4 kB / 0.7343 GB, free: 10.95 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007912/0.9059, allocations: 3.191 MB / 0.7374 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9059, allocations: 4 kB / 0.7374 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.9066, allocations: 75.89 kB / 0.7375 GB, free: 7.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/0.9095, allocations: 0.8472 MB / 0.7383 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.9096, allocations: 7.984 kB / 0.7383 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006398/0.916, allocations: 3.281 MB / 0.7415 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.9161, allocations: 0 / 0.7415 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006715/0.9228, allocations: 2.529 MB / 0.744 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.9234, allocations: 187.8 kB / 0.7442 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.9235, allocations: 8 kB / 0.7442 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.9244, allocations: 68.31 kB / 0.7442 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/0.9248, allocations: 124.3 kB / 0.7443 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.9249, allocations: 20 kB / 0.7444 GB, free: 428 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008054/0.9257, allocations: 491.2 kB / 0.7448 GB, free: 15.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9257, allocations: 3.938 kB / 0.7448 GB, free: 15.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001711/0.9274, allocations: 447.3 kB / 0.7453 GB, free: 15.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007107/0.9345, allocations: 3.255 MB / 0.7484 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007048/0.9416, allocations: 2.711 MB / 0.7511 GB, free: 9.367 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.9417, allocations: 0 / 0.7511 GB, free: 9.367 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002791/0.9445, allocations: 1.101 MB / 0.7522 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000938/0.9455, allocations: 55.3 kB / 0.7522 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.9495, allocations: 1.585 MB / 0.7538 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.9502, allocations: 0.9995 MB / 0.7547 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006101/0.9508, allocations: 118.9 kB / 0.7549 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.9513, allocations: 291.3 kB / 0.7551 GB, free: 5.094 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9513, allocations: 0 / 0.7551 GB, free: 5.094 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/1.014, allocations: 25.32 MB / 0.7799 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.014, allocations: 159.6 kB / 0.78 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/4.161, allocations: 3.375 kB / 0.78 GB, free: 11.61 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)