Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",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.003387/0.003387, allocations: 184 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.304/1.304, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009948/0.0009949, allocations: 93.89 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4672/0.4672, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.159/0.6262, allocations: 75.49 MB / 484.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/1.005, allocations: 69.35 MB / 0.5408 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/1.14, allocations: 98.06 MB / 0.6366 GB, free: 6.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/1.14, allocations: 75.95 kB / 0.6366 GB, free: 6.676 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.1024/1.242, allocations: 31.97 MB / 0.6679 GB, free: 6.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.242, allocations: 8 kB / 0.6679 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/1.246, allocations: 0.5836 MB / 0.6684 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/1.249, allocations: 0.7921 MB / 0.6692 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/1.249, allocations: 210.5 kB / 0.6694 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/1.25, allocations: 47.91 kB / 0.6695 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002387/1.252, allocations: 0.8123 MB / 0.6702 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.254, allocations: 0.8416 MB / 0.6711 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/1.254, allocations: 4 kB / 0.6711 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.254, allocations: 3.984 kB / 0.6711 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.254, allocations: 16 kB / 0.6711 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2427/1.497, allocations: 3.877 MB / 0.6749 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.498, allocations: 0.6065 MB / 0.6755 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/1.499, allocations: 0.5116 MB / 0.676 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/1.499, allocations: 25.81 kB / 0.676 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.499, allocations: 48.09 kB / 0.676 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 5.08e-06/1.499, allocations: 0 / 0.676 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01245/1.512, allocations: 4.064 MB / 0.68 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/1.512, allocations: 140.8 kB / 0.6801 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.513, allocations: 0.8446 MB / 0.681 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/1.513, allocations: 25.7 kB / 0.681 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/1.514, allocations: 320.5 kB / 0.6813 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/1.514, allocations: 327.4 kB / 0.6816 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/1.514, allocations: 0 / 0.6816 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/1.514, allocations: 341.7 kB / 0.6819 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/1.515, allocations: 439.5 kB / 0.6824 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/1.516, allocations: 0.5587 MB / 0.6829 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/1.517, allocations: 493.9 kB / 0.6834 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.517, allocations: 0 / 0.6834 GB, free: 139.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01239/1.529, allocations: 4.138 MB / 0.6874 GB, free: 139.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002957/1.529, allocations: 1.152 MB / 0.6885 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.529, allocations: 3.188 kB / 0.6885 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005297/1.535, allocations: 1.491 MB / 0.69 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.536, allocations: 188.3 kB / 0.6902 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.549, allocations: 5.716 MB / 0.6958 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/1.551, allocations: 187.1 kB / 0.6959 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.551, allocations: 38.59 kB / 0.696 GB, free: 136.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.551, allocations: 3.938 kB / 0.696 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/1.564, allocations: 3.975 MB / 0.6999 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.564, allocations: 2.688 kB / 0.6999 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/1.57, allocations: 1.489 MB / 0.7013 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.571, allocations: 181.5 kB / 0.7015 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.585, allocations: 5.706 MB / 0.7071 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.587, allocations: 166.1 kB / 0.7072 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.587, allocations: 32.86 kB / 0.7073 GB, free: 134.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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 {19 11} Notification: Performance of prepare postOptimizeDAE: time 0.000399/1.587, allocations: 161.9 kB / 0.7074 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/1.588, allocations: 126.4 kB / 0.7075 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.6, allocations: 4.16 MB / 0.7116 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.6, allocations: 7.969 kB / 0.7116 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.6, allocations: 8.156 kB / 0.7116 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.908e-05/1.6, allocations: 3.328 kB / 0.7116 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/1.615, allocations: 5.665 MB / 0.7171 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.615, allocations: 0 / 0.7171 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/1.616, allocations: 121 kB / 0.7173 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004583/1.62, allocations: 1.443 MB / 0.7187 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.621, allocations: 13.89 kB / 0.7187 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/1.631, allocations: 5.26 MB / 0.7238 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.631, allocations: 0 / 0.7238 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01433/1.646, allocations: 4.906 MB / 0.7286 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01601/1.662, allocations: 6.021 MB / 0.7345 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/1.662, allocations: 228.8 kB / 0.7347 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/1.662, allocations: 0 / 0.7347 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.664, allocations: 133.9 kB / 0.7348 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.664, allocations: 105.4 kB / 0.7349 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/1.664, allocations: 29.31 kB / 0.735 GB, free: 124.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000873/1.665, allocations: 0.6433 MB / 0.7356 GB, free: 124.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003107/1.668, allocations: 0.6225 MB / 0.7362 GB, free: 123.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/1.668, allocations: 141.7 kB / 0.7363 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009413/1.678, allocations: 3.405 MB / 0.7397 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.678, allocations: 3.75 kB / 0.7397 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003966/1.682, allocations: 1.374 MB / 0.741 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.683, allocations: 97.31 kB / 0.7411 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/1.688, allocations: 1.906 MB / 0.743 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/1.689, allocations: 1.235 MB / 0.7442 GB, free: 116.2 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/1.689, allocations: 0 / 0.7442 GB, free: 116.2 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)