Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",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.002385/0.002385, 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 4.0.0+maint.om/package.mo): time 1.063/1.063, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008508/0.0008507, allocations: 101.2 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3562/0.3562, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1129/0.4692, allocations: 75.48 MB / 484.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.7049, allocations: 69.35 MB / 0.5408 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09872/0.8037, allocations: 97.77 MB / 0.6363 GB, free: 7.254 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.8039, allocations: 83.94 kB / 0.6364 GB, free: 7.172 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.08176/0.8857, allocations: 32.32 MB / 0.668 GB, free: 6.586 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.8857, allocations: 12 kB / 0.668 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.889, allocations: 0.5797 MB / 0.6685 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.8901, allocations: 0.7625 MB / 0.6693 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.8903, allocations: 244.2 kB / 0.6695 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8905, allocations: 44 kB / 0.6696 GB, free: 4.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/0.8918, allocations: 0.8006 MB / 0.6703 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8932, allocations: 0.8329 MB / 0.6712 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8932, allocations: 0 / 0.6712 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.8933, allocations: 0 / 0.6712 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.8933, allocations: 23.91 kB / 0.6712 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/1.028, allocations: 3.738 MB / 0.6748 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.029, allocations: 0.6037 MB / 0.6754 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/1.03, allocations: 0.5071 MB / 0.6759 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/1.03, allocations: 26.06 kB / 0.6759 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/1.031, allocations: 0.6205 MB / 0.6765 GB, free: 141.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.565e-06/1.031, allocations: 2.375 kB / 0.6765 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01125/1.042, allocations: 4.169 MB / 0.6806 GB, free: 141.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.042, allocations: 118 kB / 0.6807 GB, free: 141.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/1.043, allocations: 0.8184 MB / 0.6815 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/1.043, allocations: 25.7 kB / 0.6816 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.043, allocations: 327.6 kB / 0.6819 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.043, allocations: 332.9 kB / 0.6822 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/1.043, allocations: 0.7812 kB / 0.6822 GB, free: 140.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/1.043, allocations: 342.1 kB / 0.6825 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/1.044, allocations: 444.4 kB / 0.6829 GB, free: 140.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/1.045, allocations: 0.5533 MB / 0.6835 GB, free: 140.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/1.045, allocations: 490.4 kB / 0.6839 GB, free: 140.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.045, allocations: 3.5 kB / 0.6839 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01112/1.057, allocations: 4.192 MB / 0.688 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.057, allocations: 3.531 kB / 0.688 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.057, allocations: 3.156 kB / 0.688 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00508/1.062, allocations: 1.575 MB / 0.6896 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/1.063, allocations: 186 kB / 0.6898 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.074, allocations: 6.046 MB / 0.6957 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.076, allocations: 190 kB / 0.6958 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.076, allocations: 37.28 kB / 0.6959 GB, free: 138.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002649/1.076, allocations: 153.2 kB / 0.696 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.076, allocations: 126.5 kB / 0.6961 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.088, allocations: 4.268 MB / 0.7003 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.088, allocations: 9.531 kB / 0.7003 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/1.088, allocations: 10.31 kB / 0.7003 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.088, allocations: 7.844 kB / 0.7003 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/1.102, allocations: 5.662 MB / 0.7059 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.102, allocations: 1.562 kB / 0.7059 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/1.103, allocations: 105.3 kB / 0.706 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004533/1.107, allocations: 1.543 MB / 0.7075 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.108, allocations: 9.594 kB / 0.7075 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.12, allocations: 7.115 MB / 0.7144 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.12, allocations: 0 / 0.7144 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01248/1.132, allocations: 5.015 MB / 0.7193 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01379/1.146, allocations: 6.118 MB / 0.7253 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/1.146, allocations: 224.1 kB / 0.7255 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.147, allocations: 3.469 kB / 0.7255 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.148, allocations: 136.8 kB / 0.7257 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.148, allocations: 112.4 kB / 0.7258 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/1.148, allocations: 29.2 kB / 0.7258 GB, free: 129.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007453/1.149, allocations: 0.6234 MB / 0.7264 GB, free: 129.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001678/1.151, allocations: 396.6 kB / 0.7268 GB, free: 129.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002362/1.151, allocations: 134.8 kB / 0.7269 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004323/1.155, allocations: 1.926 MB / 0.7288 GB, free: 128.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.155, allocations: 0 / 0.7288 GB, free: 128.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00367/1.159, allocations: 1.508 MB / 0.7303 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/1.159, allocations: 81.7 kB / 0.7303 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/1.163, allocations: 1.669 MB / 0.732 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/1.164, allocations: 1.209 MB / 0.7332 GB, free: 126.3 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/1.164, allocations: 0 / 0.7332 GB, free: 126.3 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)