Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.001852/0.001852, allocations: 180.4 kB / 7.457 MB, free: 2.227 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.025/1.025, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.0008531/0.0008531, allocations: 93.69 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.3454/0.3454, allocations: 78.1 MB / 409 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.621e-06, allocations: 0 / 484.4 MB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 69.34 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09755/0.313, allocations: 100.7 MB / 0.639 GB, free: 4.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.3132, allocations: 79.89 kB / 0.6391 GB, free: 4.172 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3772/0.6904, allocations: 98.43 MB / 0.7353 GB, free: 72.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.6906, allocations: 87.94 kB / 0.7353 GB, free: 72.64 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01392/0.7045, allocations: 5.957 MB / 0.7412 GB, free: 66.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.7046, allocations: 12.03 kB / 0.7412 GB, free: 66.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.7205, allocations: 2.931 MB / 0.744 GB, free: 63.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.7238, allocations: 2.233 MB / 0.7462 GB, free: 61.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/0.7244, allocations: 0.8753 MB / 0.7471 GB, free: 60.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/0.7248, allocations: 203.9 kB / 0.7473 GB, free: 60.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005189/0.73, allocations: 3.439 MB / 0.7506 GB, free: 56.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005234/0.7353, allocations: 3.582 MB / 0.7541 GB, free: 53.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/0.7353, allocations: 3.938 kB / 0.7541 GB, free: 53.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/0.7357, allocations: 4 kB / 0.7541 GB, free: 53.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.7357, allocations: 84 kB / 0.7542 GB, free: 52.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.7607, allocations: 18.52 MB / 0.7723 GB, free: 33.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.7636, allocations: 2.251 MB / 0.7745 GB, free: 31.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.7661, allocations: 2.108 MB / 0.7765 GB, free: 29.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/0.7664, allocations: 70.89 kB / 0.7766 GB, free: 28.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003146/0.7696, allocations: 2.473 MB / 0.779 GB, free: 26.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.42e-06/0.7696, allocations: 0 / 0.779 GB, free: 26.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.049/0.8186, allocations: 18.38 MB / 0.797 GB, free: 8.039 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.8187, allocations: 145.8 kB / 0.7971 GB, free: 7.871 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.8216, allocations: 2.436 MB / 0.7995 GB, free: 5.422 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/0.822, allocations: 29.73 kB / 0.7995 GB, free: 5.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.8224, allocations: 1.186 MB / 0.8007 GB, free: 4.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001674/0.8241, allocations: 1.243 MB / 0.8019 GB, free: 2.922 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.8244, allocations: 0 / 0.8019 GB, free: 2.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8245, allocations: 445.7 kB / 0.8023 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.827, allocations: 1.765 MB / 0.804 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.83, allocations: 2.325 MB / 0.8063 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.8331, allocations: 1.961 MB / 0.8082 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.8331, allocations: 4 kB / 0.8082 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05222/0.8854, allocations: 18.42 MB / 0.8262 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8854, allocations: 7.938 kB / 0.8262 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.8854, allocations: 16 kB / 0.8262 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0238/0.9092, allocations: 7.203 MB / 0.8333 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/0.9123, allocations: 0.5539 MB / 0.8338 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05635/0.9687, allocations: 22.28 MB / 0.8556 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/0.9742, allocations: 0.6762 MB / 0.8562 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/0.9746, allocations: 132 kB / 0.8564 GB, free: 10.71 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.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 (329): * Single equations (assignments): 326 * 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.0007528/0.9753, allocations: 190.9 kB / 0.8565 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006748/0.976, allocations: 454.4 kB / 0.857 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05281/1.029, allocations: 18.81 MB / 0.8753 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/1.029, allocations: 36 kB / 0.8754 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.181e-05/1.029, allocations: 32 kB / 0.8754 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/1.029, allocations: 15.94 kB / 0.8754 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2046/1.234, allocations: 23.36 MB / 0.8982 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.234, allocations: 3.938 kB / 0.8982 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.236, allocations: 386.5 kB / 0.8986 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02067/1.257, allocations: 7.254 MB / 0.9057 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004826/1.257, allocations: 21.23 kB / 0.9057 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04669/1.304, allocations: 22 MB / 0.9272 GB, free: 169.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.304, allocations: 0 / 0.9272 GB, free: 169.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05306/1.357, allocations: 21.72 MB / 0.9484 GB, free: 168.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.358, allocations: 0.5522 MB / 0.9489 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/1.359, allocations: 3.969 kB / 0.9489 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/1.363, allocations: 487 kB / 0.9494 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/1.364, allocations: 460.6 kB / 0.9498 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/1.364, allocations: 101.9 kB / 0.9499 GB, free: 168.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002162/1.367, allocations: 1.802 MB / 0.9517 GB, free: 168.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003542/1.37, allocations: 1.557 MB / 0.9532 GB, free: 168.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004655/1.371, allocations: 156.9 kB / 0.9534 GB, free: 168 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01967/1.39, allocations: 7.901 MB / 0.9611 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.39, allocations: 0 / 0.9611 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01572/1.406, allocations: 5.925 MB / 0.9669 GB, free: 164.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.408, allocations: 249.5 kB / 0.9671 GB, free: 164.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.421, allocations: 5.869 MB / 0.9728 GB, free: 162.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/1.423, allocations: 2.647 MB / 0.9754 GB, free: 161.6 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/1.423, allocations: 0 / 0.9754 GB, free: 161.6 MB / 0.573 GB Notification: Performance of Templates: time 0.08451/1.508, allocations: 73.17 MB / 1.047 GB, free: 123.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)