Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002999/0.002999, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.285/1.285, allocations: 205.2 MB / 213.1 MB, free: 13.81 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.0009727/0.0009727, allocations: 93.59 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06758/0.06758, allocations: 12.19 MB / 321.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2871/0.2871, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2863/0.5734, allocations: 76.08 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.7091, allocations: 69.23 MB / 0.5813 GB, free: 9.211 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/1.082, allocations: 100.7 MB / 0.6796 GB, free: 8.609 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/1.082, allocations: 74.64 kB / 0.6797 GB, free: 8.57 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.1942/1.276, allocations: 73.85 MB / 0.7518 GB, free: 9.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.276, allocations: 15.94 kB / 0.7518 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.287, allocations: 1.514 MB / 0.7533 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/1.292, allocations: 1.74 MB / 0.755 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000545/1.293, allocations: 390.8 kB / 0.7554 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/1.293, allocations: 111.9 kB / 0.7555 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004333/1.298, allocations: 1.948 MB / 0.7574 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/1.301, allocations: 1.785 MB / 0.7591 GB, free: 1.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.301, allocations: 3.938 kB / 0.7591 GB, free: 1.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.302, allocations: 0 / 0.7591 GB, free: 1.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/1.302, allocations: 44 kB / 0.7591 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/1.323, allocations: 9.515 MB / 0.7684 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/1.326, allocations: 1.386 MB / 0.7698 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/1.328, allocations: 1.276 MB / 0.771 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/1.328, allocations: 45.95 kB / 0.7711 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.328, allocations: 60.56 kB / 0.7711 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=223): time 5.931e-06/1.328, allocations: 0 / 0.7711 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223): time 0.02968/1.358, allocations: 8.576 MB / 0.7795 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/1.358, allocations: 81.41 kB / 0.7796 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.362, allocations: 2.062 MB / 0.7816 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006418/1.363, allocations: 25.7 kB / 0.7816 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/1.363, allocations: 0.6543 MB / 0.7823 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.365, allocations: 0.7542 MB / 0.783 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.365, allocations: 0 / 0.783 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.365, allocations: 382.2 kB / 0.7834 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/1.367, allocations: 1.028 MB / 0.7844 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.369, allocations: 1.3 MB / 0.7856 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.372, allocations: 1.158 MB / 0.7868 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.372, allocations: 4 kB / 0.7868 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.02023/1.392, allocations: 6.155 MB / 0.7928 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.392, allocations: 4 kB / 0.7928 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.392, allocations: 12 kB / 0.7928 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/1.407, allocations: 3.352 MB / 0.7961 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/1.415, allocations: 1.635 MB / 0.7977 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/1.442, allocations: 16.64 MB / 0.8139 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.446, allocations: 346 kB / 0.8143 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008287/1.447, allocations: 83.88 kB / 0.8143 GB, free: 7.656 MB / 0.5417 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(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: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006841/1.448, allocations: 154.3 kB / 0.8145 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.449, allocations: 300.2 kB / 0.8148 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02702/1.476, allocations: 8.807 MB / 0.8234 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/1.476, allocations: 24 kB / 0.8234 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.476, allocations: 3.938 kB / 0.8234 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-05/1.476, allocations: 12.02 kB / 0.8234 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03304/1.509, allocations: 12.15 MB / 0.8353 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.509, allocations: 0 / 0.8353 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.511, allocations: 235.6 kB / 0.8355 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/1.525, allocations: 4.058 MB / 0.8395 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005718/1.526, allocations: 15.98 kB / 0.8395 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02984/1.556, allocations: 11.95 MB / 0.8511 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.556, allocations: 0 / 0.8511 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3468/1.903, allocations: 10.54 MB / 0.8614 GB, free: 111.3 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0328/1.935, allocations: 12.7 MB / 0.8738 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.937, allocations: 468.5 kB / 0.8743 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009391/1.938, allocations: 6.344 kB / 0.8743 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.941, allocations: 198.9 kB / 0.8745 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005802/1.941, allocations: 221.1 kB / 0.8747 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.942, allocations: 59.5 kB / 0.8748 GB, free: 110.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002224/1.944, allocations: 1.549 MB / 0.8763 GB, free: 110.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003943/1.948, allocations: 0.9012 MB / 0.8771 GB, free: 110.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.000814/1.949, allocations: 280.6 kB / 0.8774 GB, free: 110.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.96, allocations: 5.24 MB / 0.8825 GB, free: 108.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.96, allocations: 0.5 kB / 0.8825 GB, free: 108.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009487/1.97, allocations: 3.102 MB / 0.8856 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.972, allocations: 168.1 kB / 0.8857 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.983, allocations: 4.813 MB / 0.8904 GB, free: 106.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.986, allocations: 2.043 MB / 0.8924 GB, free: 105.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.673e-06/1.986, allocations: 4 kB / 0.8924 GB, free: 105.6 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)