Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_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.003248/0.003248, allocations: 180.3 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.336/1.336, 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.0008279/0.0008279, allocations: 88.84 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07146/0.07146, allocations: 12.2 MB / 321.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3177/0.3177, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.6272, allocations: 76.1 MB / 0.5137 GB, free: 30.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.7805, allocations: 69.22 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/1.202, allocations: 100.1 MB / 0.679 GB, free: 8.914 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.202, allocations: 88.48 kB / 0.6791 GB, free: 8.863 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.08025/1.283, allocations: 29.36 MB / 0.7078 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.283, allocations: 11.94 kB / 0.7078 GB, free: 0.543 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/1.287, allocations: 0.5963 MB / 0.7084 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/1.289, allocations: 0.8465 MB / 0.7092 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/1.289, allocations: 206.5 kB / 0.7094 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/1.289, allocations: 55.69 kB / 0.7094 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001916/1.291, allocations: 0.9244 MB / 0.7103 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.293, allocations: 1.026 MB / 0.7113 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.293, allocations: 0 / 0.7113 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.293, allocations: 0 / 0.7113 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.293, allocations: 24 kB / 0.7114 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007154/1.3, allocations: 4.137 MB / 0.7154 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.302, allocations: 0.6414 MB / 0.716 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009683/1.303, allocations: 0.6051 MB / 0.7166 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/1.303, allocations: 20.97 kB / 0.7166 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.303, allocations: 42.56 kB / 0.7167 GB, free: 9.535 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/1.303, allocations: 0 / 0.7167 GB, free: 9.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.01393/1.317, allocations: 4.509 MB / 0.7211 GB, free: 5.578 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.317, allocations: 115.8 kB / 0.7212 GB, free: 5.438 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.318, allocations: 0.7695 MB / 0.722 GB, free: 4.863 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/1.319, allocations: 25.7 kB / 0.722 GB, free: 4.832 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/1.319, allocations: 379.7 kB / 0.7223 GB, free: 4.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000567/1.32, allocations: 366.3 kB / 0.7227 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/1.32, allocations: 0 / 0.7227 GB, free: 4.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/1.32, allocations: 347.5 kB / 0.723 GB, free: 3.863 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/1.321, allocations: 475.4 kB / 0.7235 GB, free: 3.617 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/1.322, allocations: 0.6228 MB / 0.7241 GB, free: 3.176 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/1.323, allocations: 0.5201 MB / 0.7246 GB, free: 2.883 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.323, allocations: 0 / 0.7246 GB, free: 2.883 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01441/1.337, allocations: 4.697 MB / 0.7292 GB, free: 14.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005554/1.338, allocations: 1.501 MB / 0.7306 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.338, allocations: 8 kB / 0.7306 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/1.344, allocations: 1.82 MB / 0.7324 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/1.345, allocations: 163.4 kB / 0.7326 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.361, allocations: 6.809 MB / 0.7392 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.363, allocations: 203 kB / 0.7394 GB, free: 5.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.363, allocations: 36 kB / 0.7395 GB, free: 5.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.363, allocations: 4 kB / 0.7395 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01449/1.378, allocations: 4.526 MB / 0.7439 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.378, allocations: 4 kB / 0.7439 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006211/1.384, allocations: 1.812 MB / 0.7457 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/1.385, allocations: 155.7 kB / 0.7458 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.401, allocations: 6.813 MB / 0.7525 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.403, allocations: 175.2 kB / 0.7526 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.403, allocations: 32 kB / 0.7527 GB, free: 7.941 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004394/1.404, allocations: 145.6 kB / 0.7528 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/1.404, allocations: 134.4 kB / 0.7529 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.418, allocations: 4.597 MB / 0.7574 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.418, allocations: 12 kB / 0.7574 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.418, allocations: 0 / 0.7574 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.418, allocations: 11.97 kB / 0.7574 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.436, allocations: 6.078 MB / 0.7634 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.436, allocations: 0 / 0.7634 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/1.437, allocations: 131.8 kB / 0.7635 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006067/1.443, allocations: 1.789 MB / 0.7652 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/1.443, allocations: 8 kB / 0.7653 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.457, allocations: 5.989 MB / 0.7711 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.458, allocations: 0 / 0.7711 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01572/1.473, allocations: 5.42 MB / 0.7764 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01712/1.49, allocations: 6.579 MB / 0.7828 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/1.491, allocations: 227.1 kB / 0.783 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/1.492, allocations: 4 kB / 0.783 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.493, allocations: 139.9 kB / 0.7832 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.494, allocations: 116.8 kB / 0.7833 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.494, allocations: 28 kB / 0.7833 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001105/1.495, allocations: 0.5875 MB / 0.7839 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003881/1.499, allocations: 0.6783 MB / 0.7845 GB, free: 6.977 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.0005218/1.499, allocations: 139.1 kB / 0.7847 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.51, allocations: 3.676 MB / 0.7883 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.511, allocations: 0 / 0.7883 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.515, allocations: 1.496 MB / 0.7897 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.517, allocations: 100.4 kB / 0.7898 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/1.522, allocations: 1.766 MB / 0.7915 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.523, allocations: 1.229 MB / 0.7928 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/1.523, allocations: 0 / 0.7928 GB, free: 14.47 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)