Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",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.003769/0.003769, allocations: 181.4 kB / 7.459 MB, free: 2.496 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.368/1.368, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009048/0.0009048, allocations: 94.3 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06469/0.06469, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2769/0.2769, allocations: 78.05 MB / 449.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2354/0.5124, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.621, allocations: 69.23 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.9335, allocations: 103.2 MB / 0.682 GB, free: 6.188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.9338, allocations: 78.2 kB / 0.6821 GB, free: 6.148 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.2675/1.201, allocations: 101.7 MB / 0.7814 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.201, allocations: 11.94 kB / 0.7814 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/1.221, allocations: 2.927 MB / 0.7843 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/1.227, allocations: 2.31 MB / 0.7865 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/1.228, allocations: 0.8463 MB / 0.7873 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/1.23, allocations: 207.9 kB / 0.7875 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/1.241, allocations: 3.451 MB / 0.7909 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/1.253, allocations: 3.614 MB / 0.7944 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/1.253, allocations: 0 / 0.7944 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009519/1.254, allocations: 4 kB / 0.7944 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/1.254, allocations: 87.98 kB / 0.7945 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/1.295, allocations: 18.7 MB / 0.8128 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/1.299, allocations: 2.267 MB / 0.815 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004245/1.304, allocations: 2.128 MB / 0.8171 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/1.304, allocations: 70.92 kB / 0.8171 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/1.304, allocations: 69.56 kB / 0.8172 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 6.522e-06/1.304, allocations: 0 / 0.8172 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05776/1.362, allocations: 18.28 MB / 0.8351 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.362, allocations: 171.5 kB / 0.8352 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/1.366, allocations: 2.476 MB / 0.8376 GB, free: 15.82 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008632/1.367, allocations: 29.7 kB / 0.8377 GB, free: 15.79 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/1.368, allocations: 1.174 MB / 0.8388 GB, free: 14.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002656/1.371, allocations: 1.254 MB / 0.84 GB, free: 13.32 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.371, allocations: 0 / 0.84 GB, free: 13.32 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.371, allocations: 445.6 kB / 0.8405 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/1.375, allocations: 1.777 MB / 0.8422 GB, free: 11.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/1.378, allocations: 2.342 MB / 0.8445 GB, free: 8.559 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/1.382, allocations: 1.969 MB / 0.8464 GB, free: 6.578 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.382, allocations: 8 kB / 0.8464 GB, free: 6.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.2811/1.663, allocations: 18.43 MB / 0.8644 GB, free: 123.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/1.664, allocations: 6.615 MB / 0.8709 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.664, allocations: 15.62 kB / 0.8709 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02719/1.691, allocations: 7.22 MB / 0.8779 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/1.697, allocations: 0.5395 MB / 0.8785 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1061/1.803, allocations: 23.43 MB / 0.9014 GB, free: 112.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00922/1.812, allocations: 0.6661 MB / 0.902 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.814, allocations: 138.4 kB / 0.9021 GB, free: 112.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.814, allocations: 6.594 kB / 0.9021 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05174/1.866, allocations: 17.94 MB / 0.9197 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.741e-05/1.866, allocations: 22.38 kB / 0.9197 GB, free: 111.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02528/1.891, allocations: 7.216 MB / 0.9267 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.894, allocations: 0.5295 MB / 0.9272 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.059/1.953, allocations: 23.43 MB / 0.9501 GB, free: 101.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.959, allocations: 0.6259 MB / 0.9507 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009723/1.96, allocations: 131.4 kB / 0.9509 GB, free: 101.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.961, allocations: 203.1 kB / 0.9511 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/1.963, allocations: 454.4 kB / 0.9515 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05207/2.015, allocations: 18.71 MB / 0.9698 GB, free: 85.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/2.015, allocations: 36 kB / 0.9698 GB, free: 85.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-05/2.015, allocations: 31 kB / 0.9698 GB, free: 85.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-05/2.015, allocations: 25.91 kB / 0.9698 GB, free: 85.92 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.061/2.076, allocations: 23.64 MB / 0.9929 GB, free: 67.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/2.076, allocations: 0 / 0.9929 GB, free: 67.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/2.079, allocations: 409.2 kB / 0.9933 GB, free: 67.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0227/2.102, allocations: 7.195 MB / 1 GB, free: 61.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009966/2.103, allocations: 19.84 kB / 1 GB, free: 61.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04879/2.151, allocations: 20.08 MB / 1.02 GB, free: 44.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/2.152, allocations: 4 kB / 1.02 GB, free: 44.04 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05942/2.211, allocations: 21.64 MB / 1.041 GB, free: 26.12 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06305/2.274, allocations: 25.17 MB / 1.066 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.276, allocations: 0.5636 MB / 1.066 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/2.278, allocations: 4 kB / 1.066 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005511/2.284, allocations: 475.6 kB / 1.067 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2501/2.534, allocations: 451 kB / 1.067 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007538/2.535, allocations: 88 kB / 1.067 GB, free: 119.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.003493/2.538, allocations: 1.849 MB / 1.069 GB, free: 119.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009516/2.548, allocations: 2.603 MB / 1.072 GB, free: 119.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000667/2.549, allocations: 152.5 kB / 1.072 GB, free: 119.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0403/2.589, allocations: 14.19 MB / 1.086 GB, free: 118.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.589, allocations: 0 / 1.086 GB, free: 118.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01787/2.607, allocations: 5.834 MB / 1.091 GB, free: 118.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/2.611, allocations: 253.8 kB / 1.092 GB, free: 118.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/2.632, allocations: 6.45 MB / 1.098 GB, free: 116.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002966/2.635, allocations: 2.704 MB / 1.1 GB, free: 115.8 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/2.635, allocations: 0 / 1.1 GB, free: 115.8 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)