Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.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.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 172.5 kB / 7.647 MB, free: 1.422 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.458/1.458, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009439/0.0009439, allocations: 97.3 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5689/0.5689, allocations: 78.12 MB / 409.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 3.938 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1726, allocations: 69.37 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.6539, allocations: 98.69 MB / 0.6378 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.6542, allocations: 89.28 kB / 0.6379 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07978/0.734, allocations: 29.04 MB / 0.6663 GB, free: 3.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.734, allocations: 4 kB / 0.6663 GB, free: 3.816 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.7341, allocations: 31.94 kB / 0.6663 GB, free: 3.785 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.006049/0.7402, allocations: 1.893 MB / 0.6681 GB, free: 1.848 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.7403, allocations: 8.031 kB / 0.6681 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.7442, allocations: 0.5762 MB / 0.6687 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.7468, allocations: 0.8741 MB / 0.6696 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.7471, allocations: 202.5 kB / 0.6697 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.7474, allocations: 63.95 kB / 0.6698 GB, free: 44 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001893/0.7493, allocations: 0.9373 MB / 0.6707 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.7512, allocations: 1.042 MB / 0.6717 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.7512, allocations: 4.656 kB / 0.6717 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.7513, allocations: 0 / 0.6717 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.7513, allocations: 24 kB / 0.6718 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007146/0.7585, allocations: 4.335 MB / 0.676 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.761, allocations: 1.527 MB / 0.6775 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008966/0.762, allocations: 0.6205 MB / 0.6781 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.7621, allocations: 21.3 kB / 0.6781 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.7621, allocations: 48.48 kB / 0.6782 GB, free: 7.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 4.268e-06/0.7622, allocations: 0 / 0.6782 GB, free: 7.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01366/0.7758, allocations: 4.266 MB / 0.6823 GB, free: 2.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.7759, allocations: 120.1 kB / 0.6824 GB, free: 2.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.7773, allocations: 0.8108 MB / 0.6832 GB, free: 1.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.7776, allocations: 25.7 kB / 0.6833 GB, free: 1.879 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.778, allocations: 0.5947 MB / 0.6838 GB, free: 1.277 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.7785, allocations: 379.3 kB / 0.6842 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.7785, allocations: 0 / 0.6842 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7787, allocations: 341.9 kB / 0.6845 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.7795, allocations: 470.6 kB / 0.685 GB, free: 108 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.7804, allocations: 0.643 MB / 0.6856 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.7813, allocations: 0.5281 MB / 0.6861 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.7813, allocations: 4 kB / 0.6861 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0138/0.7951, allocations: 4.48 MB / 0.6905 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007195/0.7959, allocations: 1.676 MB / 0.6921 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.7959, allocations: 4 kB / 0.6921 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/0.8018, allocations: 1.757 MB / 0.6939 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.8027, allocations: 167.7 kB / 0.694 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.8183, allocations: 7.484 MB / 0.7013 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.82, allocations: 186.9 kB / 0.7015 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.8202, allocations: 41.73 kB / 0.7015 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8202, allocations: 4 kB / 0.7016 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01278/0.833, allocations: 4.285 MB / 0.7057 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.833, allocations: 4 kB / 0.7057 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.8388, allocations: 1.767 MB / 0.7075 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.8397, allocations: 155.8 kB / 0.7076 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.8548, allocations: 7.494 MB / 0.7149 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.8565, allocations: 169.5 kB / 0.7151 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.8566, allocations: 36 kB / 0.7151 GB, free: 0.7773 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004204/0.857, allocations: 130.5 kB / 0.7153 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01281/0.8698, allocations: 4.268 MB / 0.7194 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.8702, allocations: 142.3 kB / 0.7196 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.8832, allocations: 4.36 MB / 0.7238 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.8833, allocations: 20.98 kB / 0.7238 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8833, allocations: 2.25 kB / 0.7238 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.8833, allocations: 3.984 kB / 0.7238 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.8987, allocations: 6.051 MB / 0.7297 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.8988, allocations: 3.938 kB / 0.7298 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/0.8997, allocations: 123.9 kB / 0.7299 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005418/0.9051, allocations: 1.726 MB / 0.7316 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.9053, allocations: 0 / 0.7316 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.9188, allocations: 6.55 MB / 0.738 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.9189, allocations: 3.188 kB / 0.738 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.934, allocations: 5.181 MB / 0.743 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.9348, allocations: 224.3 kB / 0.7432 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.935, allocations: 8 kB / 0.7432 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.9362, allocations: 127.9 kB / 0.7434 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/0.9369, allocations: 204.9 kB / 0.7436 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.937, allocations: 39.89 kB / 0.7436 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001045/0.9381, allocations: 0.6121 MB / 0.7442 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9381, allocations: 0 / 0.7442 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002538/0.9406, allocations: 0.6861 MB / 0.7449 GB, free: 2.004 MB / 0.5417 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,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.01563/0.9563, allocations: 5.77 MB / 0.7505 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01065/0.967, allocations: 3.738 MB / 0.7541 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.9671, allocations: 0 / 0.7541 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004473/0.9715, allocations: 1.515 MB / 0.7556 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.9727, allocations: 102.3 kB / 0.7557 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.9771, allocations: 1.913 MB / 0.7576 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009366/0.978, allocations: 1.209 MB / 0.7588 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.9789, allocations: 181.4 kB / 0.7589 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.9795, allocations: 0.4966 MB / 0.7594 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/0.9795, allocations: 0 / 0.7594 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4264/1.406, allocations: 40.17 MB / 0.7987 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.406, allocations: 134.9 kB / 0.7988 GB, free: 144 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/4.762, allocations: 1.094 kB / 0.7988 GB, free: 144 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)