Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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 4.0.0+maint.om/package.mo): time 0.004015/0.004015, allocations: 180 kB / 7.457 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.4 MB / 229.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 107.6 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4676/0.4676, allocations: 78.93 MB / 409.8 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1594/0.627, allocations: 75.64 MB / 485.5 MB, free: 3.605 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.964, allocations: 69.5 MB / 0.5419 GB, free: 20.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/1.085, allocations: 98.35 MB / 0.638 GB, free: 5.555 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.085, allocations: 83.92 kB / 0.6381 GB, free: 5.473 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.1038/1.189, allocations: 36.72 MB / 0.6739 GB, free: 432 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.189, allocations: 8 kB / 0.6739 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2355/1.425, allocations: 0.5816 MB / 0.6745 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.426, allocations: 0.7876 MB / 0.6753 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/1.427, allocations: 216 kB / 0.6755 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.427, allocations: 43 kB / 0.6755 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/1.428, allocations: 0.8027 MB / 0.6763 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.43, allocations: 0.827 MB / 0.6771 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.43, allocations: 0 / 0.6771 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/1.43, allocations: 2.312 kB / 0.6771 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.43, allocations: 24.97 kB / 0.6772 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/1.437, allocations: 3.824 MB / 0.6809 GB, free: 140 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/1.438, allocations: 0.5971 MB / 0.6815 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007044/1.439, allocations: 0.5084 MB / 0.682 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/1.439, allocations: 27.84 kB / 0.682 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.439, allocations: 40.28 kB / 0.682 GB, free: 139.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.296e-06/1.439, allocations: 2.719 kB / 0.682 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01213/1.451, allocations: 4.042 MB / 0.686 GB, free: 139.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.451, allocations: 140.3 kB / 0.6861 GB, free: 139.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.452, allocations: 0.8047 MB / 0.6869 GB, free: 139.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.452, allocations: 33.33 kB / 0.6869 GB, free: 139.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.453, allocations: 315.6 kB / 0.6872 GB, free: 139.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.453, allocations: 326.4 kB / 0.6875 GB, free: 139 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/1.453, allocations: 0 / 0.6875 GB, free: 139 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/1.453, allocations: 341.4 kB / 0.6879 GB, free: 138.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/1.454, allocations: 431 kB / 0.6883 GB, free: 138.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/1.455, allocations: 0.5527 MB / 0.6888 GB, free: 138.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/1.455, allocations: 487.4 kB / 0.6893 GB, free: 138.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.455, allocations: 0 / 0.6893 GB, free: 138.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01203/1.467, allocations: 4.173 MB / 0.6934 GB, free: 138.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/1.468, allocations: 1.135 MB / 0.6945 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.468, allocations: 3.688 kB / 0.6945 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/1.473, allocations: 1.508 MB / 0.6959 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/1.474, allocations: 170 kB / 0.6961 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.487, allocations: 5.829 MB / 0.7018 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.489, allocations: 184.7 kB / 0.702 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.489, allocations: 34.67 kB / 0.702 GB, free: 135.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.489, allocations: 4.094 kB / 0.702 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0129/1.502, allocations: 4.018 MB / 0.7059 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.502, allocations: 2.75 kB / 0.7059 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/1.507, allocations: 1.509 MB / 0.7074 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.508, allocations: 156.2 kB / 0.7076 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.52, allocations: 5.825 MB / 0.7133 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/1.522, allocations: 171.5 kB / 0.7134 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.522, allocations: 37.77 kB / 0.7134 GB, free: 133.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004407/1.523, allocations: 158.5 kB / 0.7136 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/1.523, allocations: 129 kB / 0.7137 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.535, allocations: 4.116 MB / 0.7177 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.535, allocations: 11.47 kB / 0.7178 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.535, allocations: 8.781 kB / 0.7178 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.535, allocations: 13.61 kB / 0.7178 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.549, allocations: 5.611 MB / 0.7233 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.549, allocations: 0 / 0.7233 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/1.55, allocations: 115.2 kB / 0.7234 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0048/1.555, allocations: 1.449 MB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/1.555, allocations: 11.31 kB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/1.566, allocations: 5.225 MB / 0.7299 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.566, allocations: 1.031 kB / 0.7299 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0146/1.581, allocations: 4.866 MB / 0.7346 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01404/1.595, allocations: 5.955 MB / 0.7405 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/1.596, allocations: 224.5 kB / 0.7407 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.596, allocations: 4 kB / 0.7407 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.597, allocations: 130.1 kB / 0.7408 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.597, allocations: 109.8 kB / 0.7409 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/1.597, allocations: 27.42 kB / 0.7409 GB, free: 119.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008018/1.598, allocations: 0.6157 MB / 0.7415 GB, free: 119.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003121/1.601, allocations: 0.6062 MB / 0.7421 GB, free: 118.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/1.602, allocations: 141.9 kB / 0.7423 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00817/1.61, allocations: 3.351 MB / 0.7455 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.61, allocations: 0 / 0.7455 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.614, allocations: 1.368 MB / 0.7469 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/1.615, allocations: 87.97 kB / 0.747 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/1.619, allocations: 1.806 MB / 0.7487 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008465/1.62, allocations: 1.213 MB / 0.7499 GB, free: 111.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/1.62, allocations: 7.656 kB / 0.7499 GB, free: 111.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)