Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.002033/0.002033, allocations: 181.5 kB / 7.458 MB, free: 2.516 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.06/1.06, allocations: 221.4 MB / 229.3 MB, free: 3.203 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.0008374/0.0008374, allocations: 100.1 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3656/0.3656, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.117/0.4826, allocations: 75.49 MB / 484.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.7168, allocations: 69.34 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.8178, allocations: 101 MB / 0.6395 GB, free: 3.914 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.818, allocations: 79.95 kB / 0.6395 GB, free: 3.836 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.4026/1.221, allocations: 103.3 MB / 0.7404 GB, free: 67.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/1.221, allocations: 8 kB / 0.7404 GB, free: 67.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/1.237, allocations: 2.924 MB / 0.7433 GB, free: 64.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/1.241, allocations: 2.282 MB / 0.7455 GB, free: 62.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/1.242, allocations: 0.8501 MB / 0.7463 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005716/1.242, allocations: 207.9 kB / 0.7465 GB, free: 61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005427/1.248, allocations: 3.439 MB / 0.7499 GB, free: 57.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005542/1.253, allocations: 3.586 MB / 0.7534 GB, free: 53.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/1.253, allocations: 3.938 kB / 0.7534 GB, free: 53.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/1.254, allocations: 0 / 0.7534 GB, free: 53.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/1.254, allocations: 84 kB / 0.7535 GB, free: 53.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/1.281, allocations: 18.57 MB / 0.7716 GB, free: 34.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/1.284, allocations: 2.255 MB / 0.7738 GB, free: 31.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/1.287, allocations: 2.112 MB / 0.7759 GB, free: 29.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/1.287, allocations: 70.91 kB / 0.7759 GB, free: 29.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.287, allocations: 69.55 kB / 0.776 GB, free: 29.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 5.179e-06/1.287, allocations: 0 / 0.776 GB, free: 29.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.04896/1.336, allocations: 18.25 MB / 0.7938 GB, free: 11.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.336, allocations: 167.5 kB / 0.794 GB, free: 11.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/1.339, allocations: 2.428 MB / 0.7964 GB, free: 8.758 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006468/1.34, allocations: 25.7 kB / 0.7964 GB, free: 8.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/1.34, allocations: 1.178 MB / 0.7975 GB, free: 7.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.342, allocations: 1.243 MB / 0.7987 GB, free: 6.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.342, allocations: 0 / 0.7987 GB, free: 6.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/1.342, allocations: 445.5 kB / 0.7992 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/1.345, allocations: 1.761 MB / 0.8009 GB, free: 4.066 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/1.348, allocations: 2.314 MB / 0.8031 GB, free: 1.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/1.351, allocations: 1.952 MB / 0.8051 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.351, allocations: 11.98 kB / 0.8051 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.0529/1.404, allocations: 18.33 MB / 0.823 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001829/1.405, allocations: 6.604 MB / 0.8294 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/1.406, allocations: 16 kB / 0.8294 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02362/1.429, allocations: 7.129 MB / 0.8364 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/1.432, allocations: 0.5461 MB / 0.8369 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05489/1.487, allocations: 22.07 MB / 0.8585 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.492, allocations: 0.6606 MB / 0.8591 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/1.493, allocations: 132 kB / 0.8592 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/1.493, allocations: 4 kB / 0.8593 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05235/1.545, allocations: 17.85 MB / 0.8767 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-05/1.545, allocations: 19.94 kB / 0.8767 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.569, allocations: 7.125 MB / 0.8837 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.572, allocations: 0.5344 MB / 0.8842 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.204/1.776, allocations: 22.06 MB / 0.9057 GB, free: 173.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.781, allocations: 0.6348 MB / 0.9063 GB, free: 173.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/1.782, allocations: 129.5 kB / 0.9065 GB, free: 173.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 320 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007813/1.782, allocations: 202 kB / 0.9067 GB, free: 173.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/1.783, allocations: 455.8 kB / 0.9071 GB, free: 173.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04888/1.832, allocations: 18.66 MB / 0.9253 GB, free: 173 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/1.832, allocations: 35.72 kB / 0.9253 GB, free: 173 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/1.832, allocations: 28.56 kB / 0.9254 GB, free: 173 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/1.832, allocations: 19.17 kB / 0.9254 GB, free: 173 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05635/1.889, allocations: 23.56 MB / 0.9484 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.889, allocations: 1.062 kB / 0.9484 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.891, allocations: 405.4 kB / 0.9488 GB, free: 172.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02307/1.914, allocations: 7.167 MB / 0.9558 GB, free: 172 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/1.915, allocations: 19.42 kB / 0.9558 GB, free: 172 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04695/1.962, allocations: 20.1 MB / 0.9754 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.962, allocations: 0.75 kB / 0.9754 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05575/2.018, allocations: 21.58 MB / 0.9965 GB, free: 153.6 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05797/2.076, allocations: 25.08 MB / 1.021 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/2.077, allocations: 0.5512 MB / 1.022 GB, free: 131.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008251/2.078, allocations: 1.641 kB / 1.022 GB, free: 131.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/2.082, allocations: 482.4 kB / 1.022 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/2.083, allocations: 449.2 kB / 1.022 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003352/2.083, allocations: 91.42 kB / 1.023 GB, free: 131.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002036/2.085, allocations: 1.801 MB / 1.024 GB, free: 129.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006282/2.091, allocations: 2.582 MB / 1.027 GB, free: 127 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004452/2.092, allocations: 157.7 kB / 1.027 GB, free: 126.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03399/2.126, allocations: 13.87 MB / 1.04 GB, free: 114.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.126, allocations: 0 / 1.04 GB, free: 114.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01553/2.141, allocations: 5.799 MB / 1.046 GB, free: 109.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/2.143, allocations: 243.4 kB / 1.046 GB, free: 109.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/2.157, allocations: 6.247 MB / 1.052 GB, free: 103.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/2.159, allocations: 2.681 MB / 1.055 GB, free: 101.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.12e-07/2.159, allocations: 0 / 1.055 GB, free: 101.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)