Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003292/0.003292, allocations: 176.8 kB / 7.452 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.273/1.273, 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.001005/0.001005, allocations: 97.92 kB / 280.1 MB, free: 1.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4032/0.4032, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 484.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 69.36 MB / 0.5407 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3535, allocations: 100.7 MB / 0.639 GB, free: 4.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3538, allocations: 83.95 kB / 0.6391 GB, free: 4.102 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4429/0.7967, allocations: 98.43 MB / 0.7352 GB, free: 72.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002148/0.797, allocations: 83.94 kB / 0.7353 GB, free: 72.55 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.01738/0.8144, allocations: 5.961 MB / 0.7411 GB, free: 66.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8144, allocations: 12.03 kB / 0.7411 GB, free: 66.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.8336, allocations: 2.931 MB / 0.744 GB, free: 63.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.8389, allocations: 2.241 MB / 0.7462 GB, free: 61.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008558/0.8397, allocations: 0.8714 MB / 0.747 GB, free: 60.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.8409, allocations: 203.9 kB / 0.7472 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007563/0.8485, allocations: 3.439 MB / 0.7506 GB, free: 56.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007258/0.8558, allocations: 3.586 MB / 0.7541 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-05/0.8559, allocations: 3.938 kB / 0.7541 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.8563, allocations: 0 / 0.7541 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.8564, allocations: 87.94 kB / 0.7542 GB, free: 52.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.8884, allocations: 18.51 MB / 0.7723 GB, free: 33.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/0.892, allocations: 2.258 MB / 0.7745 GB, free: 31.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.8951, allocations: 2.108 MB / 0.7765 GB, free: 28.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/0.8956, allocations: 74.88 kB / 0.7766 GB, free: 28.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003748/0.8993, allocations: 2.469 MB / 0.779 GB, free: 26.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.921e-06/0.8993, allocations: 0 / 0.779 GB, free: 26.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05627/0.9556, allocations: 18.37 MB / 0.7969 GB, free: 7.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.9557, allocations: 145.8 kB / 0.7971 GB, free: 7.789 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.9592, allocations: 2.44 MB / 0.7995 GB, free: 5.336 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007383/0.96, allocations: 25.7 kB / 0.7995 GB, free: 5.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.9605, allocations: 1.182 MB / 0.8006 GB, free: 4.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002119/0.9626, allocations: 1.247 MB / 0.8019 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.9629, allocations: 0 / 0.8019 GB, free: 2.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9631, allocations: 445.7 kB / 0.8023 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/0.966, allocations: 1.765 MB / 0.804 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.9696, allocations: 2.325 MB / 0.8063 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.9733, allocations: 1.957 MB / 0.8082 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.9733, allocations: 4 kB / 0.8082 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.061/1.034, allocations: 18.42 MB / 0.8262 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.034, allocations: 4 kB / 0.8262 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.034, allocations: 12 kB / 0.8262 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02757/1.062, allocations: 7.203 MB / 0.8332 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.065, allocations: 0.5616 MB / 0.8338 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06183/1.127, allocations: 22.27 MB / 0.8555 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/1.133, allocations: 0.6801 MB / 0.8562 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007623/1.134, allocations: 128 kB / 0.8563 GB, free: 10.64 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.0008853/1.135, allocations: 202.8 kB / 0.8565 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.136, allocations: 454.4 kB / 0.8569 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06134/1.198, allocations: 18.8 MB / 0.8753 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/1.198, allocations: 36 kB / 0.8753 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-05/1.198, allocations: 28 kB / 0.8754 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.302e-05/1.198, allocations: 23.92 kB / 0.8754 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2275/1.425, allocations: 23.36 MB / 0.8982 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.425, allocations: 0 / 0.8982 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.428, allocations: 389.4 kB / 0.8986 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02459/1.453, allocations: 7.253 MB / 0.9056 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000883/1.453, allocations: 22.06 kB / 0.9057 GB, free: 172.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0543/1.508, allocations: 22 MB / 0.9271 GB, free: 169.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.508, allocations: 0 / 0.9271 GB, free: 169.6 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06108/1.569, allocations: 21.72 MB / 0.9484 GB, free: 168.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.57, allocations: 0.5554 MB / 0.9489 GB, free: 168.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/1.572, allocations: 3.875 kB / 0.9489 GB, free: 168.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005712/1.577, allocations: 489.2 kB / 0.9494 GB, free: 168.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/1.579, allocations: 459.6 kB / 0.9498 GB, free: 168.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004072/1.58, allocations: 94.8 kB / 0.9499 GB, free: 168.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002745/1.582, allocations: 1.812 MB / 0.9517 GB, free: 168.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005168/1.587, allocations: 1.559 MB / 0.9532 GB, free: 168.4 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.0006291/1.588, allocations: 156 kB / 0.9533 GB, free: 168.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02307/1.611, allocations: 7.894 MB / 0.9611 GB, free: 166.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.611, allocations: 3.969 kB / 0.9611 GB, free: 166.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01853/1.63, allocations: 5.923 MB / 0.9668 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.632, allocations: 250.5 kB / 0.9671 GB, free: 165 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.648, allocations: 5.869 MB / 0.9728 GB, free: 162.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/1.65, allocations: 2.645 MB / 0.9754 GB, free: 161.8 MB / 0.573 GB Notification: Performance of SimCode: time 7.41e-07/1.65, allocations: 3.781 kB / 0.9754 GB, free: 161.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1/1.75, allocations: 73.17 MB / 1.047 GB, free: 123.8 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)