Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.002791/0.002791, allocations: 177 kB / 7.458 MB, free: 2.508 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.43/1.43, allocations: 221.4 MB / 229.3 MB, free: 3.336 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.001222/0.001221, allocations: 100.5 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4774/0.4774, allocations: 78.07 MB / 409 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2134/0.6909, allocations: 75.48 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/1.055, allocations: 69.34 MB / 0.5408 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/1.19, allocations: 95.99 MB / 0.6346 GB, free: 8.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.19, allocations: 75.95 kB / 0.6346 GB, free: 8.816 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0658/1.256, allocations: 22.04 MB / 0.6562 GB, free: 2.562 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/1.256, allocations: 8 kB / 0.6562 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/1.259, allocations: 486.1 kB / 0.6566 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.261, allocations: 0.6174 MB / 0.6572 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.261, allocations: 160.1 kB / 0.6574 GB, free: 1.242 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.261, allocations: 35.94 kB / 0.6574 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/1.263, allocations: 0.6821 MB / 0.6581 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.264, allocations: 0.6209 MB / 0.6587 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.264, allocations: 0 / 0.6587 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/1.264, allocations: 0 / 0.6587 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.264, allocations: 19.91 kB / 0.6587 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/1.269, allocations: 2.344 MB / 0.661 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/1.27, allocations: 0.5235 MB / 0.6615 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/1.271, allocations: 468.5 kB / 0.662 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.271, allocations: 12.64 kB / 0.662 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.271, allocations: 43.22 kB / 0.662 GB, free: 12.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.271, allocations: 0 / 0.662 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01135/1.282, allocations: 3.454 MB / 0.6654 GB, free: 8.922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.282, allocations: 60.05 kB / 0.6654 GB, free: 8.852 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.283, allocations: 0.5789 MB / 0.666 GB, free: 8.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/1.283, allocations: 25.7 kB / 0.666 GB, free: 8.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/1.284, allocations: 264.5 kB / 0.6663 GB, free: 7.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/1.284, allocations: 256.1 kB / 0.6665 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/1.284, allocations: 0 / 0.6665 GB, free: 7.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/1.284, allocations: 338 kB / 0.6668 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/1.285, allocations: 365.5 kB / 0.6672 GB, free: 7.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/1.286, allocations: 437.7 kB / 0.6676 GB, free: 6.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/1.286, allocations: 403 kB / 0.668 GB, free: 6.184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.286, allocations: 4 kB / 0.668 GB, free: 6.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01157/1.298, allocations: 3.547 MB / 0.6715 GB, free: 2.617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.298, allocations: 4 kB / 0.6715 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.298, allocations: 4 kB / 0.6715 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00534/1.303, allocations: 1.418 MB / 0.6729 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/1.304, allocations: 127.8 kB / 0.673 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2432/1.548, allocations: 5.476 MB / 0.6783 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.549, allocations: 150.6 kB / 0.6785 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/1.549, allocations: 31.88 kB / 0.6785 GB, free: 144 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/1.549, allocations: 114.5 kB / 0.6786 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.549, allocations: 91.94 kB / 0.6787 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/1.559, allocations: 3.523 MB / 0.6821 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.559, allocations: 7.812 kB / 0.6821 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.559, allocations: 7.25 kB / 0.6821 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.559, allocations: 3.047 kB / 0.6822 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.57, allocations: 4.647 MB / 0.6867 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.57, allocations: 0 / 0.6867 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/1.571, allocations: 106.2 kB / 0.6868 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00424/1.575, allocations: 1.389 MB / 0.6881 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/1.576, allocations: 3.047 kB / 0.6881 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/1.586, allocations: 4.797 MB / 0.6928 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.586, allocations: 7.328 kB / 0.6928 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/1.599, allocations: 4.199 MB / 0.6969 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01377/1.613, allocations: 5.205 MB / 0.702 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/1.613, allocations: 181.3 kB / 0.7022 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/1.614, allocations: 1.375 kB / 0.7022 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.615, allocations: 115.8 kB / 0.7023 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/1.615, allocations: 94.12 kB / 0.7024 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.473e-05/1.615, allocations: 26.95 kB / 0.7024 GB, free: 140.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000793/1.616, allocations: 458.6 kB / 0.7029 GB, free: 140.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001982/1.618, allocations: 314.9 kB / 0.7032 GB, free: 140.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003653/1.619, allocations: 142.5 kB / 0.7033 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004728/1.623, allocations: 1.599 MB / 0.7049 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.623, allocations: 0 / 0.7049 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003409/1.627, allocations: 1.183 MB / 0.706 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/1.628, allocations: 52 kB / 0.7061 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/1.632, allocations: 1.224 MB / 0.7073 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008145/1.633, allocations: 1.065 MB / 0.7083 GB, free: 138.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/1.633, allocations: 3.844 kB / 0.7083 GB, free: 138.7 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)