Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.00238/0.00238, allocations: 183.6 kB / 7.459 MB, free: 2.512 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.278/1.278, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.00111/0.00111, allocations: 97.12 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4552/0.4552, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1628/0.618, allocations: 75.64 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.9528, allocations: 69.49 MB / 0.5419 GB, free: 21.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/1.086, allocations: 102.7 MB / 0.6423 GB, free: 1.273 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.086, allocations: 83.95 kB / 0.6423 GB, free: 1.191 MB / 458.7 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.5509/1.637, allocations: 108 MB / 0.7478 GB, free: 59.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.637, allocations: 8 kB / 0.7478 GB, free: 59.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/1.657, allocations: 2.931 MB / 0.7506 GB, free: 56.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007441/1.664, allocations: 2.28 MB / 0.7529 GB, free: 54.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/1.665, allocations: 0.8792 MB / 0.7537 GB, free: 53.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.667, allocations: 200 kB / 0.7539 GB, free: 53.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008499/1.675, allocations: 3.451 MB / 0.7573 GB, free: 49.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/1.686, allocations: 3.61 MB / 0.7608 GB, free: 46.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/1.686, allocations: 4.781 kB / 0.7608 GB, free: 46.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/1.688, allocations: 4 kB / 0.7608 GB, free: 46.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/1.688, allocations: 84 kB / 0.7609 GB, free: 46.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03975/1.727, allocations: 18.63 MB / 0.7791 GB, free: 26.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/1.732, allocations: 2.282 MB / 0.7813 GB, free: 24.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/1.735, allocations: 2.128 MB / 0.7834 GB, free: 22.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/1.736, allocations: 70.92 kB / 0.7835 GB, free: 22.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005187/1.741, allocations: 2.485 MB / 0.7859 GB, free: 19.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 8.857e-06/1.741, allocations: 0 / 0.7859 GB, free: 19.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05571/1.797, allocations: 18.41 MB / 0.8039 GB, free: 1.066 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.797, allocations: 145.9 kB / 0.804 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006155/1.803, allocations: 2.492 MB / 0.8064 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.805, allocations: 25.7 kB / 0.8065 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.806, allocations: 1.186 MB / 0.8076 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00366/1.81, allocations: 1.258 MB / 0.8088 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009559/1.811, allocations: 3.938 kB / 0.8089 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004098/1.811, allocations: 449.8 kB / 0.8093 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/1.816, allocations: 1.785 MB / 0.811 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004753/1.821, allocations: 2.354 MB / 0.8133 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1.825, allocations: 1.981 MB / 0.8153 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/1.825, allocations: 4 kB / 0.8153 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05927/1.884, allocations: 18.51 MB / 0.8333 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.884, allocations: 8 kB / 0.8333 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/1.885, allocations: 16 kB / 0.8334 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02783/1.912, allocations: 7.275 MB / 0.8405 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.916, allocations: 0.5538 MB / 0.841 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.069/1.985, allocations: 23.62 MB / 0.8641 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007718/1.993, allocations: 0.6917 MB / 0.8647 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.994, allocations: 136 kB / 0.8649 GB, free: 1.961 MB / 0.5417 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.002534/1.996, allocations: 198.7 kB / 0.8651 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/1.998, allocations: 458.3 kB / 0.8655 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06273/2.061, allocations: 18.85 MB / 0.8839 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.636e-05/2.061, allocations: 47.94 kB / 0.884 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.595e-05/2.061, allocations: 28 kB / 0.884 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001548/2.062, allocations: 15.94 kB / 0.884 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3008/2.362, allocations: 23.46 MB / 0.9069 GB, free: 170.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/2.362, allocations: 3.969 kB / 0.9069 GB, free: 170.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/2.365, allocations: 393.7 kB / 0.9073 GB, free: 170.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02384/2.389, allocations: 7.274 MB / 0.9144 GB, free: 170.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001303/2.39, allocations: 22.67 kB / 0.9144 GB, free: 170.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05906/2.449, allocations: 21.97 MB / 0.9359 GB, free: 167.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.449, allocations: 0 / 0.9359 GB, free: 167.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06093/2.51, allocations: 21.8 MB / 0.9572 GB, free: 166.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06808/2.579, allocations: 25.33 MB / 0.9819 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/2.581, allocations: 0.559 MB / 0.9824 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00156/2.582, allocations: 8.031 kB / 0.9824 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005042/2.587, allocations: 0.4928 MB / 0.9829 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001583/2.589, allocations: 458.6 kB / 0.9834 GB, free: 160.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/2.589, allocations: 95.64 kB / 0.9835 GB, free: 160.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.003689/2.593, allocations: 1.842 MB / 0.9853 GB, free: 159.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007151/2.6, allocations: 1.586 MB / 0.9868 GB, free: 158.9 MB / 0.573 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.0009997/2.601, allocations: 153.6 kB / 0.987 GB, free: 158.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.623, allocations: 8.062 MB / 0.9948 GB, free: 151.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/2.623, allocations: 0 / 0.9948 GB, free: 151.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01941/2.642, allocations: 5.96 MB / 1.001 GB, free: 146.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/2.647, allocations: 253.4 kB / 1.001 GB, free: 146 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/2.664, allocations: 6.126 MB / 1.007 GB, free: 140.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/2.667, allocations: 2.702 MB / 1.01 GB, free: 138.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/2.668, allocations: 0 / 1.01 GB, free: 138.4 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)