Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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 3.2.3+maint.om/package.mo): time 0.002742/0.002742, allocations: 178.3 kB / 7.454 MB, free: 2.512 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.179/1.179, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009098/0.0009097, allocations: 96.45 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06696/0.06696, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2749/0.2749, allocations: 78.05 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2873/0.5623, allocations: 76.09 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.7033, allocations: 69.23 MB / 0.5813 GB, free: 9.211 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/1.116, allocations: 102.9 MB / 0.6818 GB, free: 6.109 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.116, allocations: 80.27 kB / 0.6819 GB, free: 6.07 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.2842/1.4, allocations: 101.6 MB / 0.7811 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.4, allocations: 11.94 kB / 0.7811 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02328/1.424, allocations: 2.92 MB / 0.7839 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007351/1.431, allocations: 2.275 MB / 0.7861 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/1.432, allocations: 0.8831 MB / 0.787 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/1.433, allocations: 207.9 kB / 0.7872 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007503/1.441, allocations: 3.427 MB / 0.7906 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/1.448, allocations: 3.594 MB / 0.7941 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.756e-05/1.448, allocations: 0 / 0.7941 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/1.449, allocations: 3.984 kB / 0.7941 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.172e-05/1.449, allocations: 84 kB / 0.7941 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04112/1.49, allocations: 18.53 MB / 0.8122 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/1.494, allocations: 2.267 MB / 0.8145 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00385/1.498, allocations: 2.112 MB / 0.8165 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/1.499, allocations: 66.91 kB / 0.8166 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004822/1.503, allocations: 2.481 MB / 0.819 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=383): time 7.935e-06/1.503, allocations: 0 / 0.819 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of matching and sorting (n=383): time 0.0587/1.562, allocations: 18.37 MB / 0.8369 GB, free: 496 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/1.562, allocations: 141.8 kB / 0.8371 GB, free: 328 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/1.567, allocations: 2.436 MB / 0.8395 GB, free: 13.87 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.568, allocations: 25.7 kB / 0.8395 GB, free: 13.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008432/1.569, allocations: 1.178 MB / 0.8406 GB, free: 12.64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002668/1.571, allocations: 1.262 MB / 0.8419 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.572, allocations: 0 / 0.8419 GB, free: 11.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003047/1.572, allocations: 445.7 kB / 0.8423 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/1.575, allocations: 1.765 MB / 0.844 GB, free: 9.156 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/1.579, allocations: 2.326 MB / 0.8463 GB, free: 6.637 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/1.583, allocations: 1.968 MB / 0.8482 GB, free: 4.656 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.583, allocations: 4 kB / 0.8482 GB, free: 4.652 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.3352/1.918, allocations: 18.4 MB / 0.8662 GB, free: 99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.918, allocations: 5.469 kB / 0.8662 GB, free: 99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/1.918, allocations: 20.66 kB / 0.8662 GB, free: 99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0249/1.943, allocations: 7.195 MB / 0.8732 GB, free: 98.85 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/1.946, allocations: 0.5612 MB / 0.8738 GB, free: 98.85 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05515/2.002, allocations: 22.25 MB / 0.8955 GB, free: 96.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006481/2.008, allocations: 0.6775 MB / 0.8962 GB, free: 96.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007284/2.009, allocations: 136.5 kB / 0.8963 GB, free: 96.69 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (331): * Single equations (assignments): 328 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008983/2.01, allocations: 193.4 kB / 0.8965 GB, free: 96.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/2.011, allocations: 457.7 kB / 0.8969 GB, free: 96.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05399/2.065, allocations: 18.81 MB / 0.9153 GB, free: 94.87 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/2.065, allocations: 40.44 kB / 0.9153 GB, free: 94.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.457e-05/2.065, allocations: 25.03 kB / 0.9154 GB, free: 94.87 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001418/2.065, allocations: 26.75 kB / 0.9154 GB, free: 94.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06643/2.132, allocations: 23.38 MB / 0.9382 GB, free: 92.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/2.132, allocations: 0.8438 kB / 0.9382 GB, free: 92.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/2.135, allocations: 388.1 kB / 0.9386 GB, free: 92.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02425/2.159, allocations: 7.275 MB / 0.9457 GB, free: 87.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/2.16, allocations: 27.75 kB / 0.9457 GB, free: 87.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05292/2.213, allocations: 21.99 MB / 0.9672 GB, free: 67.76 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.213, allocations: 0 / 0.9672 GB, free: 67.76 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05903/2.272, allocations: 21.74 MB / 0.9884 GB, free: 49.77 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06424/2.336, allocations: 25.23 MB / 1.013 GB, free: 28.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/2.339, allocations: 0.5495 MB / 1.014 GB, free: 27.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/2.34, allocations: 5.547 kB / 1.014 GB, free: 27.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005131/2.345, allocations: 482.9 kB / 1.014 GB, free: 27.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/2.347, allocations: 465.6 kB / 1.015 GB, free: 27.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/2.347, allocations: 98.61 kB / 1.015 GB, free: 27.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002973/2.35, allocations: 1.795 MB / 1.016 GB, free: 25.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005428/2.356, allocations: 1.567 MB / 1.018 GB, free: 23.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006717/2.356, allocations: 152.2 kB / 1.018 GB, free: 23.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02138/2.378, allocations: 7.901 MB / 1.026 GB, free: 16.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.378, allocations: 0 / 1.026 GB, free: 16.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/2.396, allocations: 5.959 MB / 1.032 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/2.399, allocations: 245.2 kB / 1.032 GB, free: 11.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/2.416, allocations: 5.926 MB / 1.038 GB, free: 5.754 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/2.419, allocations: 2.667 MB / 1.04 GB, free: 3.715 MB / 0.573 GB Notification: Performance of SimCode: time 3.016e-06/2.419, allocations: 4 kB / 1.04 GB, free: 3.711 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)