Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",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 3.2.3+maint.om/package.mo): time 0.003467/0.003467, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 90.61 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06612/0.06612, allocations: 12.19 MB / 321.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2814/0.2814, allocations: 78.04 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3041/0.5855, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.7311, allocations: 69.23 MB / 0.5813 GB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/1.135, allocations: 102.5 MB / 0.6814 GB, free: 6.383 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.135, allocations: 86.69 kB / 0.6815 GB, free: 6.336 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.09061/1.226, allocations: 31.89 MB / 0.7126 GB, free: 11.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.226, allocations: 19.92 kB / 0.7127 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/1.23, allocations: 0.6126 MB / 0.7133 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/1.233, allocations: 0.9205 MB / 0.7142 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/1.233, allocations: 218.4 kB / 0.7144 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/1.234, allocations: 59.5 kB / 0.7144 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002733/1.237, allocations: 1.034 MB / 0.7154 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/1.239, allocations: 1.094 MB / 0.7165 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.239, allocations: 0 / 0.7165 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.239, allocations: 3.984 kB / 0.7165 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/1.239, allocations: 28 kB / 0.7165 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/1.248, allocations: 4.163 MB / 0.7206 GB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.25, allocations: 0.7548 MB / 0.7213 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/1.252, allocations: 0.6667 MB / 0.722 GB, free: 4.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/1.252, allocations: 16.98 kB / 0.722 GB, free: 4.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.252, allocations: 46.06 kB / 0.722 GB, free: 4.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 4.558e-06/1.252, allocations: 0 / 0.722 GB, free: 4.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=116): time 0.02509/1.277, allocations: 4.634 MB / 0.7266 GB, free: 0.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.277, allocations: 119.8 kB / 0.7267 GB, free: 368 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/1.28, allocations: 0.8537 MB / 0.7275 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.281, allocations: 25.7 kB / 0.7275 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.281, allocations: 399.8 kB / 0.7279 GB, free: 15.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008265/1.282, allocations: 398 kB / 0.7283 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.282, allocations: 0 / 0.7283 GB, free: 15.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/1.282, allocations: 353 kB / 0.7286 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.284, allocations: 0.5097 MB / 0.7291 GB, free: 14.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.285, allocations: 0.6641 MB / 0.7298 GB, free: 13.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/1.286, allocations: 0.5772 MB / 0.7304 GB, free: 13.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.286, allocations: 0 / 0.7304 GB, free: 13.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01506/1.301, allocations: 4.854 MB / 0.7351 GB, free: 9.406 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006113/1.302, allocations: 1.33 MB / 0.7364 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/1.302, allocations: 4 kB / 0.7364 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006471/1.308, allocations: 1.818 MB / 0.7382 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.309, allocations: 187.3 kB / 0.7384 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/1.326, allocations: 6.801 MB / 0.745 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.328, allocations: 222.9 kB / 0.7452 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003688/1.329, allocations: 39.98 kB / 0.7452 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.329, allocations: 4 kB / 0.7452 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01473/1.344, allocations: 4.665 MB / 0.7498 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.344, allocations: 7.938 kB / 0.7498 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00647/1.35, allocations: 1.828 MB / 0.7516 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.351, allocations: 171.6 kB / 0.7518 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/1.368, allocations: 6.802 MB / 0.7584 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.37, allocations: 207 kB / 0.7586 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/1.371, allocations: 39.98 kB / 0.7586 GB, free: 1.738 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" 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: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005891/1.371, allocations: 138 kB / 0.7588 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.372, allocations: 142.2 kB / 0.7589 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.387, allocations: 4.723 MB / 0.7635 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/1.387, allocations: 19.98 kB / 0.7635 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.387, allocations: 0 / 0.7635 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/1.387, allocations: 7.969 kB / 0.7635 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.405, allocations: 6.321 MB / 0.7697 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.405, allocations: 4 kB / 0.7697 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.406, allocations: 151.8 kB / 0.7699 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/1.413, allocations: 1.785 MB / 0.7716 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/1.413, allocations: 11.98 kB / 0.7716 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.428, allocations: 6.001 MB / 0.7775 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.428, allocations: 0 / 0.7775 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01678/1.445, allocations: 5.636 MB / 0.783 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01925/1.464, allocations: 6.88 MB / 0.7897 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/1.465, allocations: 235 kB / 0.7899 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.466, allocations: 7.938 kB / 0.7899 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.467, allocations: 163.9 kB / 0.7901 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/1.468, allocations: 120.8 kB / 0.7902 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.468, allocations: 31.98 kB / 0.7902 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001245/1.469, allocations: 0.6447 MB / 0.7909 GB, free: 440 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003754/1.473, allocations: 0.7249 MB / 0.7916 GB, free: 15.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/1.473, allocations: 129.8 kB / 0.7917 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.485, allocations: 3.867 MB / 0.7955 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.485, allocations: 0 / 0.7955 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/1.49, allocations: 1.554 MB / 0.797 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.491, allocations: 120.7 kB / 0.7971 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/1.497, allocations: 1.979 MB / 0.799 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.499, allocations: 1.322 MB / 0.8003 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.499, allocations: 0 / 0.8003 GB, free: 6.621 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)