Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.001261/0.001261, allocations: 178.8 kB / 7.455 MB, free: 1.531 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.4 MB / 229.3 MB, free: 8.422 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 90.38 kB / 280.1 MB, free: 7.824 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4651/0.4651, allocations: 78.91 MB / 409.8 MB, free: 4.793 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1887/0.6539, allocations: 75.64 MB / 485.4 MB, free: 9.445 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/1.051, allocations: 69.51 MB / 0.542 GB, free: 12.97 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/1.189, allocations: 98.64 MB / 0.6383 GB, free: 10.17 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.189, allocations: 71.97 kB / 0.6384 GB, free: 10.1 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.3769/1.566, allocations: 30.1 MB / 0.6677 GB, free: 102 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.566, allocations: 9.75 kB / 0.6678 GB, free: 102 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/1.572, allocations: 0.504 MB / 0.6682 GB, free: 101.9 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.574, allocations: 0.6668 MB / 0.6689 GB, free: 101.6 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/1.575, allocations: 337.8 kB / 0.6692 GB, free: 101.4 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/1.575, allocations: 42.72 kB / 0.6693 GB, free: 101.4 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002779/1.578, allocations: 0.8165 MB / 0.6701 GB, free: 101.3 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.58, allocations: 0.8286 MB / 0.6709 GB, free: 101.3 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.58, allocations: 0 / 0.6709 GB, free: 101.3 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.581, allocations: 0 / 0.6709 GB, free: 101.3 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.581, allocations: 18 kB / 0.6709 GB, free: 101.3 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009905/1.591, allocations: 3.739 MB / 0.6745 GB, free: 100.1 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.592, allocations: 0.7299 MB / 0.6752 GB, free: 100 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/1.592, allocations: 0.545 MB / 0.6758 GB, free: 99.99 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.593, allocations: 19.03 kB / 0.6758 GB, free: 99.99 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.593, allocations: 42.03 kB / 0.6758 GB, free: 99.95 MB / 482.8 MB Notification: Performance of pre-optimization done (n=92): time 3.767e-06/1.593, allocations: 3.938 kB / 0.6758 GB, free: 99.95 MB / 482.8 MB Notification: Performance of matching and sorting (n=92): time 0.01436/1.607, allocations: 4.687 MB / 0.6804 GB, free: 99.4 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.607, allocations: 89.52 kB / 0.6805 GB, free: 99.3 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.608, allocations: 0.6593 MB / 0.6811 GB, free: 98.99 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.608, allocations: 25.7 kB / 0.6812 GB, free: 98.96 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.609, allocations: 285.9 kB / 0.6814 GB, free: 98.75 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/1.609, allocations: 314.8 kB / 0.6817 GB, free: 98.5 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/1.609, allocations: 0 / 0.6817 GB, free: 98.5 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/1.609, allocations: 344.9 kB / 0.6821 GB, free: 98.18 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/1.61, allocations: 428.6 kB / 0.6825 GB, free: 97.98 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/1.611, allocations: 0.5477 MB / 0.683 GB, free: 97.63 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.612, allocations: 468.3 kB / 0.6835 GB, free: 97.41 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/1.612, allocations: 0.5312 kB / 0.6835 GB, free: 97.41 MB / 482.8 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01676/1.629, allocations: 4.736 MB / 0.6881 GB, free: 96.39 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/1.629, allocations: 8.719 kB / 0.6881 GB, free: 96.39 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/1.629, allocations: 3.125 kB / 0.6881 GB, free: 96.39 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/1.636, allocations: 1.909 MB / 0.69 GB, free: 95.88 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.637, allocations: 110.2 kB / 0.6901 GB, free: 95.79 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/1.656, allocations: 7.176 MB / 0.6971 GB, free: 89.35 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.657, allocations: 189.8 kB / 0.6973 GB, free: 89.2 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/1.658, allocations: 35.47 kB / 0.6973 GB, free: 89.16 MB / 482.8 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" ) "d-axis current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/1.658, allocations: 123.4 kB / 0.6974 GB, free: 89.05 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/1.658, allocations: 106.7 kB / 0.6975 GB, free: 88.94 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.673, allocations: 4.752 MB / 0.7022 GB, free: 85.21 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.674, allocations: 18.38 kB / 0.7022 GB, free: 85.2 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.674, allocations: 2.375 kB / 0.7022 GB, free: 85.2 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/1.674, allocations: 4.688 kB / 0.7022 GB, free: 85.2 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03176/1.705, allocations: 5.979 MB / 0.708 GB, free: 79.87 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/1.705, allocations: 4 kB / 0.708 GB, free: 79.86 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.707, allocations: 85.59 kB / 0.7081 GB, free: 79.79 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/1.718, allocations: 1.878 MB / 0.7099 GB, free: 77.91 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/1.719, allocations: 7.984 kB / 0.7099 GB, free: 77.9 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/1.745, allocations: 6.609 MB / 0.7164 GB, free: 71.2 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.745, allocations: 3.188 kB / 0.7164 GB, free: 71.2 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01499/1.76, allocations: 5.554 MB / 0.7218 GB, free: 65.64 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0167/1.777, allocations: 6.671 MB / 0.7283 GB, free: 58.95 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/1.777, allocations: 195.6 kB / 0.7285 GB, free: 58.74 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/1.777, allocations: 4 kB / 0.7285 GB, free: 58.74 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.779, allocations: 151.8 kB / 0.7287 GB, free: 58.59 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.779, allocations: 124.5 kB / 0.7288 GB, free: 58.47 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.78, allocations: 31.98 kB / 0.7288 GB, free: 58.44 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0008436/1.78, allocations: 0.5038 MB / 0.7293 GB, free: 57.92 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002107/1.783, allocations: 395.5 kB / 0.7297 GB, free: 57.54 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003284/1.783, allocations: 128.4 kB / 0.7298 GB, free: 57.41 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.00612/1.789, allocations: 2.118 MB / 0.7319 GB, free: 55.29 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.789, allocations: 0 / 0.7319 GB, free: 55.29 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005127/1.794, allocations: 1.624 MB / 0.7335 GB, free: 53.66 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/1.795, allocations: 51.39 kB / 0.7335 GB, free: 53.61 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/1.8, allocations: 1.518 MB / 0.735 GB, free: 52.09 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008495/1.801, allocations: 1.126 MB / 0.7361 GB, free: 50.93 MB / 482.8 MB Notification: Performance of SimCode: time 1.453e-06/1.801, allocations: 0 / 0.7361 GB, free: 50.93 MB / 482.8 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)