Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_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.00125/0.00125, allocations: 180.9 kB / 7.651 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.498/1.498, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008906/0.0008906, allocations: 96.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5211/0.5211, allocations: 78.07 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.08e-05, allocations: 4 kB / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 69.36 MB / 0.5414 GB, free: 6.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.6409, allocations: 98.7 MB / 0.6378 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.6414, allocations: 88.94 kB / 0.6378 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07723/0.7186, allocations: 29.06 MB / 0.6662 GB, free: 3.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.028e-06/0.7187, allocations: 0 / 0.6662 GB, free: 3.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.106e-05/0.7188, allocations: 35.94 kB / 0.6663 GB, free: 3.648 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.005222/0.724, allocations: 1.884 MB / 0.6681 GB, free: 1.719 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.7241, allocations: 16.03 kB / 0.6681 GB, free: 1.703 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.7274, allocations: 0.5795 MB / 0.6687 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.7292, allocations: 0.8663 MB / 0.6695 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.7295, allocations: 218.4 kB / 0.6697 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.7297, allocations: 55.95 kB / 0.6698 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001696/0.7314, allocations: 0.9334 MB / 0.6707 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.7332, allocations: 1.04 MB / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.7332, allocations: 3.938 kB / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.7333, allocations: 4 kB / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.7334, allocations: 22.06 kB / 0.6717 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/0.7403, allocations: 4.332 MB / 0.676 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.7429, allocations: 1.523 MB / 0.6775 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008967/0.7438, allocations: 0.6283 MB / 0.6781 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.7439, allocations: 21.28 kB / 0.6781 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.744, allocations: 47.83 kB / 0.6781 GB, free: 7.016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 5.009e-06/0.744, allocations: 0 / 0.6781 GB, free: 7.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.013/0.757, allocations: 4.259 MB / 0.6823 GB, free: 2.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.7571, allocations: 120.1 kB / 0.6824 GB, free: 2.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.7586, allocations: 0.8108 MB / 0.6832 GB, free: 1.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.7588, allocations: 25.7 kB / 0.6832 GB, free: 1.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.7594, allocations: 0.5986 MB / 0.6838 GB, free: 1.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.7599, allocations: 374.3 kB / 0.6842 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.7599, allocations: 4 kB / 0.6842 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.7601, allocations: 350.7 kB / 0.6845 GB, free: 424 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.761, allocations: 470.7 kB / 0.685 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.7619, allocations: 0.6384 MB / 0.6856 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.7628, allocations: 0.532 MB / 0.6861 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7628, allocations: 0 / 0.6861 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01344/0.7763, allocations: 4.464 MB / 0.6905 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007436/0.7771, allocations: 1.688 MB / 0.6921 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.7771, allocations: 4 kB / 0.6921 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005722/0.7828, allocations: 1.753 MB / 0.6938 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.7838, allocations: 167.7 kB / 0.694 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.8002, allocations: 7.498 MB / 0.7013 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.8021, allocations: 179 kB / 0.7015 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.8024, allocations: 47.98 kB / 0.7015 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8024, allocations: 5.406 kB / 0.7015 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01317/0.8156, allocations: 4.278 MB / 0.7057 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.8157, allocations: 4 kB / 0.7057 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/0.8214, allocations: 1.769 MB / 0.7074 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.8223, allocations: 155.8 kB / 0.7076 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/0.8392, allocations: 7.482 MB / 0.7149 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.8414, allocations: 167 kB / 0.715 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.8418, allocations: 40 kB / 0.7151 GB, free: 0.6484 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.0006832/0.8425, allocations: 146.2 kB / 0.7152 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0141/0.8566, allocations: 4.271 MB / 0.7194 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.8577, allocations: 138.3 kB / 0.7195 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.8718, allocations: 4.357 MB / 0.7238 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.8719, allocations: 12 kB / 0.7238 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8719, allocations: 3.953 kB / 0.7238 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/0.8719, allocations: 5.109 kB / 0.7238 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.8894, allocations: 6.055 MB / 0.7297 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.8894, allocations: 0 / 0.7297 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/0.8904, allocations: 131.8 kB / 0.7298 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00585/0.8962, allocations: 1.718 MB / 0.7315 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/0.8966, allocations: 4 kB / 0.7315 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/0.9123, allocations: 6.55 MB / 0.7379 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.9124, allocations: 0 / 0.7379 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.9284, allocations: 5.191 MB / 0.743 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/0.9291, allocations: 231.1 kB / 0.7432 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/0.9297, allocations: 0 / 0.7432 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.9313, allocations: 127.9 kB / 0.7433 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007695/0.9321, allocations: 209.8 kB / 0.7435 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.9323, allocations: 22.88 kB / 0.7436 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001311/0.9336, allocations: 0.6199 MB / 0.7442 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9337, allocations: 0 / 0.7442 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003424/0.9371, allocations: 0.6823 MB / 0.7448 GB, free: 1.875 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.01564/0.9527, allocations: 5.775 MB / 0.7505 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01163/0.9644, allocations: 3.727 MB / 0.7541 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.9645, allocations: 6.125 kB / 0.7541 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.9693, allocations: 1.515 MB / 0.7556 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.9707, allocations: 100.6 kB / 0.7557 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.9764, allocations: 1.917 MB / 0.7576 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.9775, allocations: 1.209 MB / 0.7587 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009537/0.9785, allocations: 184.1 kB / 0.7589 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/0.9792, allocations: 0.4993 MB / 0.7594 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of SimCode: time 1.623e-06/0.9792, allocations: 0 / 0.7594 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4127/1.392, allocations: 40.16 MB / 0.7986 GB, free: 144 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1.392, allocations: 124.3 kB / 0.7987 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/4.758, allocations: 0 / 0.7987 GB, free: 143.8 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)