Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",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.001989/0.001989, allocations: 182.6 kB / 7.461 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.399/1.399, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009019/0.000902, allocations: 100.8 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.424/0.424, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1398/0.5638, allocations: 75.65 MB / 485.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.8698, allocations: 69.5 MB / 0.542 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.9903, allocations: 98.85 MB / 0.6385 GB, free: 5.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.9906, allocations: 79.97 kB / 0.6386 GB, free: 5.02 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.4094/1.4, allocations: 65.49 MB / 0.7025 GB, free: 96.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.4, allocations: 7.875 kB / 0.7025 GB, free: 96.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.412, allocations: 1.643 MB / 0.7041 GB, free: 96.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/1.417, allocations: 1.485 MB / 0.7056 GB, free: 96.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008567/1.418, allocations: 0.6187 MB / 0.7062 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.419, allocations: 113.2 kB / 0.7063 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005984/1.425, allocations: 2.086 MB / 0.7083 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006645/1.432, allocations: 2.158 MB / 0.7104 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/1.432, allocations: 0 / 0.7104 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/1.432, allocations: 2.562 kB / 0.7104 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/1.432, allocations: 49.91 kB / 0.7105 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/1.454, allocations: 9.545 MB / 0.7198 GB, free: 86.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/1.458, allocations: 1.942 MB / 0.7217 GB, free: 85.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/1.46, allocations: 1.378 MB / 0.723 GB, free: 83.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/1.46, allocations: 42.81 kB / 0.7231 GB, free: 83.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.46, allocations: 64.45 kB / 0.7232 GB, free: 83.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.769e-06/1.46, allocations: 0 / 0.7232 GB, free: 83.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03732/1.497, allocations: 12.73 MB / 0.7356 GB, free: 71.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.497, allocations: 124.8 kB / 0.7357 GB, free: 70.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/1.5, allocations: 1.527 MB / 0.7372 GB, free: 69.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006026/1.501, allocations: 25.7 kB / 0.7372 GB, free: 69.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/1.501, allocations: 0.6634 MB / 0.7379 GB, free: 68.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.502, allocations: 0.758 MB / 0.7386 GB, free: 67.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/1.503, allocations: 0 / 0.7386 GB, free: 67.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/1.503, allocations: 386.3 kB / 0.739 GB, free: 67.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/1.505, allocations: 1.129 MB / 0.7401 GB, free: 66.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.507, allocations: 1.416 MB / 0.7415 GB, free: 64.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.509, allocations: 1.242 MB / 0.7427 GB, free: 63.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.509, allocations: 0 / 0.7427 GB, free: 63.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03671/1.546, allocations: 12.86 MB / 0.7552 GB, free: 50.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004562/1.546, allocations: 2.729 MB / 0.7579 GB, free: 47.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.546, allocations: 12 kB / 0.7579 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/1.563, allocations: 5.185 MB / 0.763 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.565, allocations: 339.5 kB / 0.7633 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0366/1.602, allocations: 15.48 MB / 0.7784 GB, free: 26.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/1.605, allocations: 481.9 kB / 0.7789 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.606, allocations: 79.89 kB / 0.7789 GB, free: 26.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/1.606, allocations: 10.5 kB / 0.7789 GB, free: 26.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03589/1.642, allocations: 12.53 MB / 0.7912 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/1.642, allocations: 4 kB / 0.7912 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/1.658, allocations: 5.196 MB / 0.7963 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.66, allocations: 319.5 kB / 0.7966 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03952/1.7, allocations: 15.49 MB / 0.8117 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/1.703, allocations: 458 kB / 0.8121 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/1.704, allocations: 75.98 kB / 0.8122 GB, free: 8.043 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008592/1.705, allocations: 159.6 kB / 0.8124 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/1.706, allocations: 268.7 kB / 0.8126 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04013/1.746, allocations: 12.99 MB / 0.8253 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/1.746, allocations: 24 kB / 0.8253 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.976e-05/1.746, allocations: 19.94 kB / 0.8253 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-05/1.746, allocations: 15.95 kB / 0.8254 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0495/1.796, allocations: 16.17 MB / 0.8411 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.796, allocations: 0 / 0.8411 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.798, allocations: 255.8 kB / 0.8414 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.814, allocations: 4.99 MB / 0.8463 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006589/1.814, allocations: 15.98 kB / 0.8463 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/1.852, allocations: 13.71 MB / 0.8597 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.852, allocations: 4 kB / 0.8597 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04398/1.896, allocations: 14.95 MB / 0.8743 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04831/1.944, allocations: 17.29 MB / 0.8912 GB, free: 6.957 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.945, allocations: 377.1 kB / 0.8915 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.946, allocations: 8 kB / 0.8915 GB, free: 6.559 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/1.95, allocations: 367.7 kB / 0.8919 GB, free: 6.199 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008556/1.951, allocations: 309.4 kB / 0.8922 GB, free: 5.898 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.951, allocations: 56 kB / 0.8922 GB, free: 5.844 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001648/1.952, allocations: 1.142 MB / 0.8933 GB, free: 4.691 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005427/1.958, allocations: 1.552 MB / 0.8948 GB, free: 3.137 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004142/1.958, allocations: 146.1 kB / 0.895 GB, free: 2.988 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1969/2.155, allocations: 9.156 MB / 0.9039 GB, free: 216.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/2.155, allocations: 0 / 0.9039 GB, free: 216.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/2.166, allocations: 3.832 MB / 0.9077 GB, free: 216.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/2.167, allocations: 150.5 kB / 0.9078 GB, free: 216.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/2.178, allocations: 4.203 MB / 0.9119 GB, free: 215.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/2.179, allocations: 1.877 MB / 0.9138 GB, free: 214.6 MB / 0.573 GB Notification: Performance of SimCode: time 4.41e-07/2.179, allocations: 2 kB / 0.9138 GB, free: 214.6 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)