Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.002192/0.002192, allocations: 184.2 kB / 7.462 MB, free: 2.5 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.266/1.266, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0008856/0.0008855, allocations: 100.8 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4224/0.4224, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.593e-06/6.613e-06, allocations: 0 / 485.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2857, allocations: 69.51 MB / 0.5419 GB, free: 20.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4099, allocations: 102.5 MB / 0.6419 GB, free: 1.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4102, allocations: 79.89 kB / 0.642 GB, free: 1.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4749/0.8851, allocations: 101.4 MB / 0.741 GB, free: 66.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003425/0.8855, allocations: 80 kB / 0.7411 GB, free: 66.68 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01823/0.9037, allocations: 6.02 MB / 0.747 GB, free: 60.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.9038, allocations: 8.031 kB / 0.747 GB, free: 60.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/0.9222, allocations: 2.924 MB / 0.7498 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.9274, allocations: 2.261 MB / 0.752 GB, free: 55.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008247/0.9282, allocations: 0.8792 MB / 0.7529 GB, free: 54.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.9294, allocations: 207.9 kB / 0.7531 GB, free: 54.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007301/0.9367, allocations: 3.451 MB / 0.7565 GB, free: 50.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/0.9444, allocations: 3.594 MB / 0.76 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/0.9444, allocations: 0 / 0.76 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004985/0.9449, allocations: 0 / 0.76 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.945, allocations: 84 kB / 0.76 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.9767, allocations: 18.59 MB / 0.7782 GB, free: 27.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.9803, allocations: 2.274 MB / 0.7804 GB, free: 25.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.9832, allocations: 2.116 MB / 0.7825 GB, free: 22.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.9837, allocations: 74.92 kB / 0.7826 GB, free: 22.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003758/0.9874, allocations: 2.485 MB / 0.785 GB, free: 20.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 6.021e-06/0.9874, allocations: 0 / 0.785 GB, free: 20.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05408/1.042, allocations: 18.4 MB / 0.8029 GB, free: 1.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.042, allocations: 141.8 kB / 0.8031 GB, free: 1.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/1.046, allocations: 2.476 MB / 0.8055 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008383/1.047, allocations: 25.7 kB / 0.8055 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009469/1.048, allocations: 1.186 MB / 0.8067 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002803/1.051, allocations: 1.251 MB / 0.8079 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/1.051, allocations: 7.938 kB / 0.8079 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002833/1.051, allocations: 445.7 kB / 0.8083 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/1.055, allocations: 1.777 MB / 0.8101 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/1.059, allocations: 2.338 MB / 0.8124 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/1.062, allocations: 1.98 MB / 0.8143 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.062, allocations: 4 kB / 0.8143 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05828/1.12, allocations: 18.44 MB / 0.8323 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.12, allocations: 4 kB / 0.8323 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/1.12, allocations: 16 kB / 0.8323 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/1.146, allocations: 7.192 MB / 0.8393 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.15, allocations: 0.5773 MB / 0.8399 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06086/1.211, allocations: 22.25 MB / 0.8616 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006135/1.217, allocations: 0.6879 MB / 0.8623 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008278/1.218, allocations: 136 kB / 0.8624 GB, free: 4.41 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 (333): * Single equations (assignments): 330 * 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.001247/1.219, allocations: 202.9 kB / 0.8626 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.22, allocations: 458.3 kB / 0.8631 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05721/1.278, allocations: 18.83 MB / 0.8814 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/1.278, allocations: 47.91 kB / 0.8815 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-05/1.278, allocations: 28 kB / 0.8815 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-05/1.278, allocations: 23.86 kB / 0.8815 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2527/1.531, allocations: 23.41 MB / 0.9044 GB, free: 171.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/1.531, allocations: 3.969 kB / 0.9044 GB, free: 171.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/1.534, allocations: 388.9 kB / 0.9048 GB, free: 171.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02411/1.558, allocations: 7.25 MB / 0.9119 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009487/1.559, allocations: 19.06 kB / 0.9119 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05187/1.611, allocations: 21.97 MB / 0.9333 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.611, allocations: 0 / 0.9333 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05863/1.669, allocations: 21.77 MB / 0.9546 GB, free: 167.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.671, allocations: 0.5659 MB / 0.9551 GB, free: 167.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.672, allocations: 10.53 kB / 0.9552 GB, free: 167.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/1.677, allocations: 0.4931 MB / 0.9556 GB, free: 167.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.678, allocations: 459.4 kB / 0.9561 GB, free: 167.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003691/1.679, allocations: 92.27 kB / 0.9562 GB, free: 167.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002862/1.682, allocations: 1.834 MB / 0.958 GB, free: 167.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005276/1.687, allocations: 1.566 MB / 0.9595 GB, free: 167.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.0005703/1.687, allocations: 156.6 kB / 0.9596 GB, free: 167 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02098/1.708, allocations: 7.92 MB / 0.9674 GB, free: 165.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.708, allocations: 0 / 0.9674 GB, free: 165.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0194/1.728, allocations: 5.935 MB / 0.9732 GB, free: 164 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.731, allocations: 245.9 kB / 0.9734 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.748, allocations: 6.018 MB / 0.9793 GB, free: 161.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/1.751, allocations: 2.653 MB / 0.9819 GB, free: 160.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.12e-07/1.751, allocations: 0 / 0.9819 GB, free: 160.4 MB / 0.573 GB Notification: Performance of Templates: time 0.09937/1.851, allocations: 73.74 MB / 1.054 GB, free: 115.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)