Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.000975/0.0009751, allocations: 180.9 kB / 7.65 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.362/1.362, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008926/0.0008927, allocations: 88.52 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5049/0.5049, allocations: 78.07 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.209e-05, allocations: 7.938 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1638, allocations: 69.35 MB / 0.5414 GB, free: 6.723 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6419, allocations: 96.4 MB / 0.6355 GB, free: 3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.6422, allocations: 79.95 kB / 0.6356 GB, free: 2.922 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06602/0.7082, allocations: 24.25 MB / 0.6593 GB, free: 10.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.7083, allocations: 0 / 0.6593 GB, free: 10.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.82e-05/0.7083, allocations: 23.94 kB / 0.6593 GB, free: 10.68 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004639/0.713, allocations: 1.665 MB / 0.6609 GB, free: 8.969 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.713, allocations: 12.03 kB / 0.6609 GB, free: 8.957 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/0.7163, allocations: 0.541 MB / 0.6615 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.7179, allocations: 0.6953 MB / 0.6621 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.7182, allocations: 244.1 kB / 0.6624 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7183, allocations: 43.91 kB / 0.6624 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/0.7199, allocations: 0.8006 MB / 0.6632 GB, free: 6.559 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.7213, allocations: 0.8095 MB / 0.664 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.7213, allocations: 0 / 0.664 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.7214, allocations: 0 / 0.664 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.7215, allocations: 16 kB / 0.664 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.7269, allocations: 2.949 MB / 0.6669 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.7293, allocations: 1.408 MB / 0.6683 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/0.7301, allocations: 0.5593 MB / 0.6688 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.7302, allocations: 12.77 kB / 0.6688 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.7303, allocations: 46.72 kB / 0.6689 GB, free: 0.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 4.589e-06/0.7303, allocations: 0 / 0.6689 GB, free: 0.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01302/0.7433, allocations: 4.145 MB / 0.6729 GB, free: 12.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.7434, allocations: 60.19 kB / 0.673 GB, free: 12.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7446, allocations: 0.651 MB / 0.6736 GB, free: 11.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.7448, allocations: 25.7 kB / 0.6736 GB, free: 11.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.7452, allocations: 460.4 kB / 0.6741 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.7455, allocations: 315.2 kB / 0.6744 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.7456, allocations: 0 / 0.6744 GB, free: 10.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7458, allocations: 341.9 kB / 0.6747 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.7465, allocations: 430.6 kB / 0.6751 GB, free: 10.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.7473, allocations: 0.5242 MB / 0.6756 GB, free: 9.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.748, allocations: 462.3 kB / 0.6761 GB, free: 9.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.748, allocations: 3.938 kB / 0.6761 GB, free: 9.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01287/0.7609, allocations: 4.297 MB / 0.6803 GB, free: 4.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.761, allocations: 4 kB / 0.6803 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.761, allocations: 4 kB / 0.6803 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.7667, allocations: 1.745 MB / 0.682 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7674, allocations: 119.8 kB / 0.6821 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.7828, allocations: 7.476 MB / 0.6894 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.7844, allocations: 159.3 kB / 0.6895 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.7845, allocations: 28 kB / 0.6896 GB, free: 11.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0002589/0.7848, allocations: 118 kB / 0.6897 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01261/0.7974, allocations: 4.153 MB / 0.6937 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/0.798, allocations: 110.6 kB / 0.6938 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.8109, allocations: 4.245 MB / 0.698 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.811, allocations: 8 kB / 0.698 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.811, allocations: 0 / 0.698 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/0.8111, allocations: 11.97 kB / 0.698 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8262, allocations: 5.727 MB / 0.7036 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8262, allocations: 0 / 0.7036 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.8269, allocations: 95.83 kB / 0.7037 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005255/0.8322, allocations: 1.726 MB / 0.7054 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/0.8324, allocations: 4 kB / 0.7054 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.8461, allocations: 6.549 MB / 0.7118 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.8461, allocations: 0 / 0.7118 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.8603, allocations: 4.985 MB / 0.7166 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.8609, allocations: 199.6 kB / 0.7168 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.861, allocations: 0 / 0.7168 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8621, allocations: 116.5 kB / 0.7169 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/0.8628, allocations: 208.3 kB / 0.7171 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.8629, allocations: 22.62 kB / 0.7172 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007187/0.8636, allocations: 0.5001 MB / 0.7177 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8636, allocations: 0 / 0.7177 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001322/0.8649, allocations: 379.5 kB / 0.718 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.01438/0.8793, allocations: 5.558 MB / 0.7234 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005355/0.8847, allocations: 1.969 MB / 0.7254 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.8848, allocations: 1.031 kB / 0.7254 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.8893, allocations: 1.452 MB / 0.7268 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.8903, allocations: 55.42 kB / 0.7268 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.8938, allocations: 1.624 MB / 0.7284 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.8945, allocations: 1.076 MB / 0.7295 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.8948, allocations: 61.58 kB / 0.7295 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.8953, allocations: 391.3 kB / 0.7299 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of SimCode: time 7.82e-07/0.8953, allocations: 5.5 kB / 0.7299 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/0.9612, allocations: 27.15 MB / 0.7564 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.9616, allocations: 132.2 kB / 0.7565 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.922, allocations: 1.781 kB / 0.7565 GB, free: 6.168 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)