Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003787/0.003788, allocations: 173.9 kB / 7.457 MB, free: 2.316 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.331/1.331, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0009006/0.0009006, allocations: 88.83 kB / 261.1 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0655/0.0655, allocations: 12.2 MB / 321.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2792/0.2792, allocations: 78.04 MB / 449.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3019/0.5812, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.7071, allocations: 69.22 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/1.066, allocations: 99.33 MB / 0.6783 GB, free: 9.133 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.066, allocations: 74.16 kB / 0.6783 GB, free: 9.125 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.08563/1.152, allocations: 31.55 MB / 0.7092 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.152, allocations: 15.94 kB / 0.7092 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/1.156, allocations: 0.5773 MB / 0.7097 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/1.158, allocations: 0.7547 MB / 0.7105 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/1.159, allocations: 248 kB / 0.7107 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/1.159, allocations: 48.66 kB / 0.7108 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/1.161, allocations: 0.7964 MB / 0.7115 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/1.162, allocations: 0.8288 MB / 0.7123 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.162, allocations: 4 kB / 0.7123 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/1.162, allocations: 0 / 0.7123 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/1.162, allocations: 16 kB / 0.7124 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/1.17, allocations: 3.744 MB / 0.716 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.171, allocations: 0.6081 MB / 0.7166 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/1.172, allocations: 0.5069 MB / 0.7171 GB, free: 9.211 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/1.172, allocations: 24.25 kB / 0.7171 GB, free: 9.191 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/1.174, allocations: 0.6199 MB / 0.7177 GB, free: 8.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 7.073e-06/1.174, allocations: 4 kB / 0.7177 GB, free: 8.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01414/1.188, allocations: 4.175 MB / 0.7218 GB, free: 5.105 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/1.188, allocations: 119.1 kB / 0.7219 GB, free: 4.965 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.19, allocations: 0.8166 MB / 0.7227 GB, free: 4.363 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/1.19, allocations: 25.7 kB / 0.7227 GB, free: 4.332 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/1.19, allocations: 325.8 kB / 0.7231 GB, free: 4.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005849/1.191, allocations: 325.7 kB / 0.7234 GB, free: 3.773 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/1.191, allocations: 0 / 0.7234 GB, free: 3.773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/1.191, allocations: 343.6 kB / 0.7237 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007752/1.192, allocations: 437.5 kB / 0.7241 GB, free: 3.219 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/1.192, allocations: 0.5584 MB / 0.7247 GB, free: 2.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/1.193, allocations: 493.2 kB / 0.7251 GB, free: 2.566 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.193, allocations: 0 / 0.7251 GB, free: 2.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01312/1.206, allocations: 4.198 MB / 0.7292 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.207, allocations: 4 kB / 0.7292 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.207, allocations: 7.938 kB / 0.7292 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005981/1.213, allocations: 1.571 MB / 0.7308 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.214, allocations: 183.4 kB / 0.731 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.228, allocations: 6.052 MB / 0.7369 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.23, allocations: 191.1 kB / 0.737 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.23, allocations: 39.98 kB / 0.7371 GB, free: 8.09 MB / 474.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.000319/1.23, allocations: 155.3 kB / 0.7372 GB, free: 7.926 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.231, allocations: 122.5 kB / 0.7373 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.244, allocations: 4.268 MB / 0.7415 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.244, allocations: 8 kB / 0.7415 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.244, allocations: 8 kB / 0.7415 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-05/1.244, allocations: 7.891 kB / 0.7415 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.259, allocations: 5.66 MB / 0.7471 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.259, allocations: 0 / 0.7471 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/1.26, allocations: 107.7 kB / 0.7472 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/1.265, allocations: 1.555 MB / 0.7487 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/1.265, allocations: 8 kB / 0.7487 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/1.28, allocations: 7.093 MB / 0.7556 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.28, allocations: 0 / 0.7556 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01455/1.295, allocations: 5.019 MB / 0.7605 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01533/1.31, allocations: 6.116 MB / 0.7665 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/1.311, allocations: 223.4 kB / 0.7667 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/1.311, allocations: 3.906 kB / 0.7667 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.312, allocations: 143.9 kB / 0.7668 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/1.312, allocations: 112.8 kB / 0.767 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/1.312, allocations: 24 kB / 0.767 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008892/1.313, allocations: 0.6216 MB / 0.7676 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002022/1.315, allocations: 395.5 kB / 0.768 GB, free: 7.996 MB / 0.4948 GB 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.0003383/1.316, allocations: 139.4 kB / 0.7681 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005215/1.321, allocations: 1.926 MB / 0.77 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.321, allocations: 0 / 0.77 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.325, allocations: 1.503 MB / 0.7714 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/1.326, allocations: 99.67 kB / 0.7715 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/1.33, allocations: 1.665 MB / 0.7732 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/1.331, allocations: 1.213 MB / 0.7744 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/1.331, allocations: 0 / 0.7744 GB, free: 1.324 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)