Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [: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.002055/0.002055, allocations: 179.3 kB / 7.455 MB, free: 2.508 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.209/1.209, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0009791/0.0009792, allocations: 94 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4088/0.4088, allocations: 78.06 MB / 409 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.025e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 69.35 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3463, allocations: 97.78 MB / 0.6362 GB, free: 6.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3465, allocations: 79.95 kB / 0.6363 GB, free: 6.879 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08972/0.4363, allocations: 30.55 MB / 0.6661 GB, free: 8.125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.764e-05/0.4364, allocations: 24 kB / 0.6661 GB, free: 8.102 MB / 490.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.00444/0.4408, allocations: 1.746 MB / 0.6678 GB, free: 6.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4409, allocations: 8.031 kB / 0.6678 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.4446, allocations: 0.5836 MB / 0.6684 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4459, allocations: 0.7703 MB / 0.6692 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.4462, allocations: 232.2 kB / 0.6694 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.4464, allocations: 47.98 kB / 0.6694 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001555/0.4479, allocations: 0.8045 MB / 0.6702 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.4495, allocations: 0.8251 MB / 0.671 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4495, allocations: 0 / 0.671 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.4496, allocations: 0 / 0.671 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4496, allocations: 23.91 kB / 0.671 GB, free: 2.902 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/0.5965, allocations: 3.732 MB / 0.6747 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5977, allocations: 0.6088 MB / 0.6753 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.5984, allocations: 0.5088 MB / 0.6758 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.5986, allocations: 19.39 kB / 0.6758 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.5995, allocations: 0.6233 MB / 0.6764 GB, free: 141.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.447e-06/0.5995, allocations: 3.969 kB / 0.6764 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.013/0.6125, allocations: 4.179 MB / 0.6805 GB, free: 141.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6126, allocations: 116.7 kB / 0.6806 GB, free: 141.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.6135, allocations: 0.8181 MB / 0.6814 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.6136, allocations: 26.61 kB / 0.6814 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6137, allocations: 328 kB / 0.6817 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.614, allocations: 322.2 kB / 0.6821 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.6141, allocations: 0.9375 kB / 0.6821 GB, free: 140.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.6142, allocations: 347.8 kB / 0.6824 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.6149, allocations: 437 kB / 0.6828 GB, free: 140.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.6156, allocations: 0.5581 MB / 0.6833 GB, free: 140.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.6164, allocations: 492.5 kB / 0.6838 GB, free: 140.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6164, allocations: 0.5 kB / 0.6838 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01282/0.6292, allocations: 4.195 MB / 0.6879 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6293, allocations: 3.875 kB / 0.6879 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6293, allocations: 3.875 kB / 0.6879 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005811/0.6351, allocations: 1.569 MB / 0.6895 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6361, allocations: 185.5 kB / 0.6896 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.6496, allocations: 6.055 MB / 0.6955 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6513, allocations: 189 kB / 0.6957 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.6514, allocations: 36.64 kB / 0.6958 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.0002775/0.6517, allocations: 154.7 kB / 0.6959 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.6519, allocations: 126.3 kB / 0.696 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.6654, allocations: 4.268 MB / 0.7002 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6654, allocations: 9.875 kB / 0.7002 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6654, allocations: 7.5 kB / 0.7002 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6654, allocations: 7.375 kB / 0.7002 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.6802, allocations: 5.657 MB / 0.7057 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6802, allocations: 0 / 0.7057 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.6809, allocations: 97.8 kB / 0.7058 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/0.686, allocations: 1.554 MB / 0.7074 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.6861, allocations: 11.05 kB / 0.7074 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.6996, allocations: 7.111 MB / 0.7143 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6996, allocations: 0 / 0.7143 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01349/0.7131, allocations: 5.011 MB / 0.7192 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.7134, allocations: 219.7 kB / 0.7194 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.7137, allocations: 2.938 kB / 0.7194 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.715, allocations: 150.9 kB / 0.7196 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.7152, allocations: 116.1 kB / 0.7197 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.7153, allocations: 22.34 kB / 0.7197 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007156/0.7161, allocations: 0.6259 MB / 0.7203 GB, free: 132 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001184/0.7173, allocations: 384.2 kB / 0.7207 GB, free: 132 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.0002586/0.7175, allocations: 149.7 kB / 0.7208 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004663/0.7222, allocations: 1.925 MB / 0.7227 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7222, allocations: 0 / 0.7227 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.726, allocations: 1.498 MB / 0.7242 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.7267, allocations: 92.56 kB / 0.7242 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.7303, allocations: 1.66 MB / 0.7259 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.7311, allocations: 1.19 MB / 0.727 GB, free: 129 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7312, allocations: 0 / 0.727 GB, free: 129 MB / 490.7 MB Notification: Performance of Templates: time 0.02768/0.7588, allocations: 19.29 MB / 0.7459 GB, free: 121.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)