Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.001829/0.001829, allocations: 177.8 kB / 7.455 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.056/1.056, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0008443/0.0008443, allocations: 101.3 kB / 280.1 MB, free: 1.195 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3563/0.3563, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1139/0.4702, allocations: 75.49 MB / 484.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.6955, allocations: 69.34 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09696/0.7925, allocations: 97.87 MB / 0.6364 GB, free: 6.922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.7927, allocations: 79.95 kB / 0.6365 GB, free: 6.844 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.3129/1.106, allocations: 63.78 MB / 0.6988 GB, free: 96.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.106, allocations: 7.406 kB / 0.6988 GB, free: 96.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009168/1.115, allocations: 1.641 MB / 0.7004 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/1.117, allocations: 1.474 MB / 0.7018 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/1.118, allocations: 0.6241 MB / 0.7024 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/1.118, allocations: 119.3 kB / 0.7025 GB, free: 94.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003745/1.122, allocations: 2.073 MB / 0.7046 GB, free: 94.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/1.126, allocations: 2.144 MB / 0.7067 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/1.126, allocations: 0 / 0.7067 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/1.126, allocations: 0.9062 kB / 0.7067 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/1.126, allocations: 45.34 kB / 0.7067 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/1.142, allocations: 9.489 MB / 0.716 GB, free: 88.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/1.146, allocations: 1.928 MB / 0.7179 GB, free: 87.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.147, allocations: 1.36 MB / 0.7192 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.148, allocations: 51.59 kB / 0.7192 GB, free: 86.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/1.148, allocations: 56.97 kB / 0.7193 GB, free: 86.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.847e-06/1.148, allocations: 0 / 0.7193 GB, free: 86.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03487/1.183, allocations: 12.71 MB / 0.7317 GB, free: 75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.183, allocations: 124.8 kB / 0.7318 GB, free: 74.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.185, allocations: 1.483 MB / 0.7333 GB, free: 73.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004702/1.185, allocations: 33.64 kB / 0.7333 GB, free: 73.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.185, allocations: 0.6555 MB / 0.7339 GB, free: 72.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009259/1.186, allocations: 0.7619 MB / 0.7347 GB, free: 71.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.186, allocations: 0 / 0.7347 GB, free: 71.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.187, allocations: 386.2 kB / 0.7351 GB, free: 71.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.188, allocations: 1.117 MB / 0.7361 GB, free: 70.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/1.19, allocations: 1.408 MB / 0.7375 GB, free: 68.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.192, allocations: 1.23 MB / 0.7387 GB, free: 67.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.192, allocations: 0 / 0.7387 GB, free: 67.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03471/1.226, allocations: 12.81 MB / 0.7512 GB, free: 54.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003637/1.227, allocations: 2.725 MB / 0.7539 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.227, allocations: 11.98 kB / 0.7539 GB, free: 51.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/1.242, allocations: 5.189 MB / 0.759 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.244, allocations: 327.5 kB / 0.7593 GB, free: 46.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/1.278, allocations: 15.49 MB / 0.7744 GB, free: 30.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.282, allocations: 481.9 kB / 0.7749 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/1.282, allocations: 71.98 kB / 0.7749 GB, free: 30.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/1.282, allocations: 4 kB / 0.7749 GB, free: 30.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03463/1.317, allocations: 12.53 MB / 0.7872 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/1.317, allocations: 4 kB / 0.7872 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/1.332, allocations: 5.184 MB / 0.7922 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.334, allocations: 307.6 kB / 0.7925 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03547/1.37, allocations: 15.49 MB / 0.8077 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.373, allocations: 458 kB / 0.8081 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/1.374, allocations: 75.98 kB / 0.8082 GB, free: 12.16 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (186): * Single equations (assignments): 185 * 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.0006929/1.374, allocations: 150.6 kB / 0.8083 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/1.375, allocations: 268.6 kB / 0.8086 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03772/1.413, allocations: 12.95 MB / 0.8212 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/1.413, allocations: 26.44 kB / 0.8213 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/1.413, allocations: 20 kB / 0.8213 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/1.413, allocations: 11.95 kB / 0.8213 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/1.457, allocations: 16.11 MB / 0.837 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.457, allocations: 4 kB / 0.837 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.458, allocations: 255.8 kB / 0.8373 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/1.473, allocations: 4.978 MB / 0.8421 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004599/1.474, allocations: 11.98 kB / 0.8421 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/1.507, allocations: 13.72 MB / 0.8555 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.507, allocations: 7.938 kB / 0.8555 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04136/1.549, allocations: 14.9 MB / 0.8701 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1763/1.725, allocations: 17.23 MB / 0.8869 GB, free: 189.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.725, allocations: 373.8 kB / 0.8873 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/1.726, allocations: 3.844 kB / 0.8873 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.729, allocations: 365.2 kB / 0.8876 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00073/1.729, allocations: 317.5 kB / 0.8879 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.73, allocations: 61.81 kB / 0.888 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001209/1.731, allocations: 1.101 MB / 0.8891 GB, free: 189.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004307/1.735, allocations: 1.534 MB / 0.8906 GB, free: 189.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (147): * Single equations (assignments): 146 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003429/1.735, allocations: 149.5 kB / 0.8907 GB, free: 189.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02291/1.758, allocations: 9.123 MB / 0.8996 GB, free: 189.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.758, allocations: 0 / 0.8996 GB, free: 189.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/1.769, allocations: 3.807 MB / 0.9033 GB, free: 188.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.77, allocations: 152.1 kB / 0.9035 GB, free: 188.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/1.779, allocations: 4.08 MB / 0.9075 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/1.781, allocations: 1.862 MB / 0.9093 GB, free: 187.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/1.781, allocations: 0 / 0.9093 GB, free: 187.2 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)