Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 178.8 kB / 7.455 MB, free: 1.531 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 229.3 MB, free: 8.426 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009832, allocations: 94.59 kB / 280.1 MB, free: 7.844 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4588/0.4588, allocations: 78.06 MB / 408.9 MB, free: 5.34 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1849/0.6437, allocations: 75.49 MB / 484.4 MB, free: 10.14 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/1.005, allocations: 69.33 MB / 0.5408 GB, free: 15.7 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/1.133, allocations: 102 MB / 0.6404 GB, free: 9.496 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.134, allocations: 75.95 kB / 0.6405 GB, free: 9.422 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.5637/1.697, allocations: 106.1 MB / 0.7441 GB, free: 47.53 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.697, allocations: 12 kB / 0.7441 GB, free: 47.52 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/1.716, allocations: 2.927 MB / 0.747 GB, free: 44.58 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007271/1.723, allocations: 2.276 MB / 0.7492 GB, free: 42.23 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009275/1.724, allocations: 0.8791 MB / 0.7501 GB, free: 41.21 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/1.726, allocations: 204 kB / 0.7503 GB, free: 41.02 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008564/1.735, allocations: 3.455 MB / 0.7536 GB, free: 37.56 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00964/1.744, allocations: 3.606 MB / 0.7571 GB, free: 33.93 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.864e-05/1.745, allocations: 0 / 0.7571 GB, free: 33.93 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/1.745, allocations: 0 / 0.7571 GB, free: 33.93 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/1.745, allocations: 84 kB / 0.7572 GB, free: 33.84 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03614/1.782, allocations: 18.64 MB / 0.7754 GB, free: 14.18 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/1.786, allocations: 2.278 MB / 0.7777 GB, free: 11.89 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/1.789, allocations: 2.132 MB / 0.7797 GB, free: 9.75 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/1.79, allocations: 70.91 kB / 0.7798 GB, free: 9.68 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003616/1.793, allocations: 2.489 MB / 0.7822 GB, free: 7.152 MB / 482.8 MB Notification: Performance of pre-optimization done (n=385): time 5.069e-06/1.793, allocations: 0 / 0.7822 GB, free: 7.152 MB / 482.8 MB Notification: Performance of matching and sorting (n=385): time 0.05732/1.85, allocations: 18.41 MB / 0.8002 GB, free: 4.688 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.851, allocations: 145.8 kB / 0.8003 GB, free: 4.52 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/1.855, allocations: 2.48 MB / 0.8028 GB, free: 2.027 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009852/1.856, allocations: 29.7 kB / 0.8028 GB, free: 1.992 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/1.857, allocations: 1.193 MB / 0.804 GB, free: 0.7812 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003033/1.86, allocations: 1.254 MB / 0.8052 GB, free: 15.51 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/1.86, allocations: 0 / 0.8052 GB, free: 15.51 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0003137/1.861, allocations: 441.8 kB / 0.8056 GB, free: 15.07 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.864, allocations: 1.788 MB / 0.8074 GB, free: 13.28 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/1.868, allocations: 2.345 MB / 0.8096 GB, free: 10.74 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/1.872, allocations: 1.981 MB / 0.8116 GB, free: 8.746 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/1.872, allocations: 7.938 kB / 0.8116 GB, free: 8.738 MB / 0.5027 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05912/1.931, allocations: 18.52 MB / 0.8297 GB, free: 6.172 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.931, allocations: 4 kB / 0.8297 GB, free: 6.168 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/1.931, allocations: 19.91 kB / 0.8297 GB, free: 6.148 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/1.959, allocations: 7.278 MB / 0.8368 GB, free: 14.86 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/1.962, allocations: 0.5577 MB / 0.8373 GB, free: 14.3 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06388/2.026, allocations: 23.6 MB / 0.8604 GB, free: 6.43 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007167/2.034, allocations: 0.6762 MB / 0.8611 GB, free: 5.75 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/2.035, allocations: 139.9 kB / 0.8612 GB, free: 5.613 MB / 0.5496 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001004/2.036, allocations: 202.9 kB / 0.8614 GB, free: 5.402 MB / 0.5496 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/2.037, allocations: 458.3 kB / 0.8618 GB, free: 4.949 MB / 0.5496 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05847/2.096, allocations: 18.84 MB / 0.8802 GB, free: 2.051 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/2.096, allocations: 47.92 kB / 0.8803 GB, free: 2.004 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-05/2.096, allocations: 28 kB / 0.8803 GB, free: 1.977 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001426/2.096, allocations: 23.83 kB / 0.8803 GB, free: 1.953 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3075/2.404, allocations: 23.45 MB / 0.9032 GB, free: 160.6 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/2.404, allocations: 3.938 kB / 0.9032 GB, free: 160.6 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/2.406, allocations: 397.5 kB / 0.9036 GB, free: 160.6 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/2.43, allocations: 7.278 MB / 0.9107 GB, free: 160.6 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/2.432, allocations: 23.36 kB / 0.9107 GB, free: 160.6 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05516/2.487, allocations: 21.96 MB / 0.9322 GB, free: 157.7 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/2.487, allocations: 0 / 0.9322 GB, free: 157.7 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06247/2.549, allocations: 21.8 MB / 0.9535 GB, free: 156 MB / 0.5652 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06748/2.617, allocations: 25.33 MB / 0.9782 GB, free: 145.5 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/2.619, allocations: 0.5635 MB / 0.9787 GB, free: 145 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001767/2.621, allocations: 3.656 kB / 0.9787 GB, free: 145 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006021/2.627, allocations: 486.5 kB / 0.9792 GB, free: 144.6 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/2.629, allocations: 461.3 kB / 0.9797 GB, free: 144.4 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/2.629, allocations: 95.84 kB / 0.9797 GB, free: 144.3 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.002937/2.632, allocations: 1.835 MB / 0.9815 GB, free: 142.6 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.006219/2.638, allocations: 1.584 MB / 0.9831 GB, free: 141.1 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006564/2.639, allocations: 153 kB / 0.9832 GB, free: 141 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.02065/2.66, allocations: 8.06 MB / 0.9911 GB, free: 133.6 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/2.66, allocations: 4.062 kB / 0.9911 GB, free: 133.6 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.01811/2.678, allocations: 5.961 MB / 0.9969 GB, free: 128.3 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/2.682, allocations: 244.1 kB / 0.9972 GB, free: 128.1 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/2.7, allocations: 6.128 MB / 1.003 GB, free: 122.6 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/2.703, allocations: 2.696 MB / 1.006 GB, free: 120.5 MB / 0.5652 GB Notification: Performance of SimCode: time 1.824e-06/2.703, allocations: 4 kB / 1.006 GB, free: 120.5 MB / 0.5652 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)