Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_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.001819/0.001819, allocations: 184.5 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.048/1.048, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0008384/0.0008384, allocations: 96.47 kB / 280.1 MB, free: 1.258 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.1171/0.4827, allocations: 75.49 MB / 484.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.7148, allocations: 69.33 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.8215, allocations: 101.4 MB / 0.6399 GB, free: 3.496 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.8217, allocations: 75.95 kB / 0.6399 GB, free: 3.422 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.4132/1.235, allocations: 104.2 MB / 0.7417 GB, free: 66.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/1.235, allocations: 8 kB / 0.7417 GB, free: 66.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/1.252, allocations: 2.924 MB / 0.7446 GB, free: 63.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/1.256, allocations: 2.294 MB / 0.7468 GB, free: 60.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/1.256, allocations: 0.8462 MB / 0.7477 GB, free: 59.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/1.257, allocations: 208 kB / 0.7479 GB, free: 59.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005351/1.262, allocations: 3.451 MB / 0.7512 GB, free: 56.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/1.267, allocations: 3.595 MB / 0.7547 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/1.267, allocations: 4 kB / 0.7547 GB, free: 52.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/1.268, allocations: 0 / 0.7547 GB, free: 52.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/1.268, allocations: 84 kB / 0.7548 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/1.294, allocations: 18.67 MB / 0.773 GB, free: 32.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/1.297, allocations: 2.255 MB / 0.7752 GB, free: 30.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/1.3, allocations: 2.12 MB / 0.7773 GB, free: 28.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/1.3, allocations: 74.91 kB / 0.7774 GB, free: 28.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.3, allocations: 77.53 kB / 0.7775 GB, free: 28.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.39e-06/1.3, allocations: 0 / 0.7775 GB, free: 28.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.04858/1.349, allocations: 18.26 MB / 0.7953 GB, free: 9.988 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.349, allocations: 183.3 kB / 0.7955 GB, free: 9.777 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/1.352, allocations: 2.464 MB / 0.7979 GB, free: 7.297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006249/1.353, allocations: 25.7 kB / 0.7979 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/1.353, allocations: 1.182 MB / 0.7991 GB, free: 6.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.355, allocations: 1.243 MB / 0.8003 GB, free: 4.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.355, allocations: 0 / 0.8003 GB, free: 4.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/1.355, allocations: 445.5 kB / 0.8007 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/1.358, allocations: 1.773 MB / 0.8024 GB, free: 2.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/1.361, allocations: 2.318 MB / 0.8047 GB, free: 76 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.364, allocations: 1.975 MB / 0.8066 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.364, allocations: 4 kB / 0.8066 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.05204/1.416, allocations: 18.34 MB / 0.8245 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001736/1.418, allocations: 6.613 MB / 0.831 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.418, allocations: 16 kB / 0.831 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0233/1.441, allocations: 7.101 MB / 0.8379 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/1.444, allocations: 0.5616 MB / 0.8385 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05379/1.498, allocations: 21.98 MB / 0.86 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/1.503, allocations: 0.6568 MB / 0.8606 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/1.504, allocations: 132 kB / 0.8607 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/1.504, allocations: 6.5 kB / 0.8607 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0512/1.555, allocations: 17.87 MB / 0.8782 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.425e-05/1.555, allocations: 16 kB / 0.8782 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/1.578, allocations: 7.101 MB / 0.8851 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.582, allocations: 0.5578 MB / 0.8857 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/1.778, allocations: 21.97 MB / 0.9071 GB, free: 173.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005348/1.784, allocations: 0.6353 MB / 0.9077 GB, free: 173.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/1.784, allocations: 127.4 kB / 0.9079 GB, free: 173.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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: 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 (327): * Single equations (assignments): 324 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008439/1.785, allocations: 209 kB / 0.9081 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.786, allocations: 459.4 kB / 0.9085 GB, free: 173 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04878/1.835, allocations: 18.67 MB / 0.9267 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/1.835, allocations: 43.44 kB / 0.9268 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/1.835, allocations: 26.66 kB / 0.9268 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/1.835, allocations: 22.48 kB / 0.9268 GB, free: 172.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05519/1.89, allocations: 23.61 MB / 0.9499 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.89, allocations: 1.812 kB / 0.9499 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.893, allocations: 408.1 kB / 0.9503 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02287/1.915, allocations: 7.153 MB / 0.9573 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008133/1.916, allocations: 19.27 kB / 0.9573 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04589/1.962, allocations: 20.14 MB / 0.9769 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.962, allocations: 0 / 0.9769 GB, free: 165.7 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05441/2.017, allocations: 21.62 MB / 0.9981 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0573/2.074, allocations: 25.13 MB / 1.023 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/2.075, allocations: 0.5593 MB / 1.023 GB, free: 131 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/2.076, allocations: 4 kB / 1.023 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/2.08, allocations: 473.3 kB / 1.024 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/2.081, allocations: 453.4 kB / 1.024 GB, free: 130.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003264/2.082, allocations: 94.09 kB / 1.024 GB, free: 130.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002192/2.084, allocations: 1.827 MB / 1.026 GB, free: 128.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006823/2.091, allocations: 2.594 MB / 1.028 GB, free: 126.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (251): * Single equations (assignments): 249 * 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004565/2.091, allocations: 156.5 kB / 1.029 GB, free: 126 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03452/2.126, allocations: 13.9 MB / 1.042 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/2.126, allocations: 4.938 kB / 1.042 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01522/2.141, allocations: 5.771 MB / 1.048 GB, free: 108.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/2.143, allocations: 244.9 kB / 1.048 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/2.157, allocations: 6.35 MB / 1.054 GB, free: 102.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/2.16, allocations: 2.695 MB / 1.057 GB, free: 100.4 MB / 0.573 GB Notification: Performance of SimCode: time 7.32e-07/2.16, allocations: 4 kB / 1.057 GB, free: 100.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)