Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09503/0.09503, allocations: 12.6 MB / 28.85 MB, free: 252 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 115.4 kB / 32.45 MB, free: 3.398 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 241 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 187.4 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4617/0.4617, allocations: 78.51 MB / 419.9 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 139.8 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3461, allocations: 68.1 MB / 0.556 GB, free: 32.97 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006423/0.3526, allocations: 6.085 MB / 0.5619 GB, free: 28.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.3562, allocations: 1.753 MB / 0.5636 GB, free: 27.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006408/0.3569, allocations: 14 kB / 0.5637 GB, free: 27.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.3573, allocations: 215 kB / 0.5639 GB, free: 26.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.3591, allocations: 0.7042 MB / 0.5646 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3603, allocations: 0.5688 MB / 0.5651 GB, free: 25.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.3616, allocations: 1.34 MB / 0.5664 GB, free: 25.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.362, allocations: 290.2 kB / 0.5667 GB, free: 24.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.3626, allocations: 0.5595 MB / 0.5672 GB, free: 24.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.3632, allocations: 0.6916 MB / 0.5679 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3634, allocations: 97.72 kB / 0.568 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.3639, allocations: 239 kB / 0.5682 GB, free: 23.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.364, allocations: 261.2 kB / 0.5685 GB, free: 23.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.3645, allocations: 0.5741 MB / 0.569 GB, free: 23.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.3657, allocations: 1.443 MB / 0.5705 GB, free: 22.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3657, allocations: 1.156 kB / 0.5705 GB, free: 22.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3657, allocations: 0 / 0.5705 GB, free: 22.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3657, allocations: 4 kB / 0.5705 GB, free: 22.27 MB / 398.1 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.007538/0.3733, allocations: 2.449 MB / 0.5729 GB, free: 20.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3733, allocations: 18.06 kB / 0.5729 GB, free: 20.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.3782, allocations: 0.7626 MB / 0.5736 GB, free: 20.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3795, allocations: 0.7384 MB / 0.5743 GB, free: 19.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.3798, allocations: 247.7 kB / 0.5746 GB, free: 19.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.38, allocations: 75.12 kB / 0.5746 GB, free: 19.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.382, allocations: 1.09 MB / 0.5757 GB, free: 18.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.382, allocations: 0 / 0.5757 GB, free: 18.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.3821, allocations: 34.94 kB / 0.5757 GB, free: 18.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3821, allocations: 21.03 kB / 0.5758 GB, free: 18.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.384, allocations: 1.033 MB / 0.5768 GB, free: 17.95 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.3888, allocations: 3.057 MB / 0.5798 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.3913, allocations: 1.56 MB / 0.5813 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.3925, allocations: 0.7541 MB / 0.582 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3927, allocations: 16.97 kB / 0.582 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3927, allocations: 47.5 kB / 0.5821 GB, free: 12.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.366e-06/0.3927, allocations: 0 / 0.5821 GB, free: 12.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02635/0.4191, allocations: 7.468 MB / 0.5894 GB, free: 4.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4191, allocations: 68.41 kB / 0.5894 GB, free: 4.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.4201, allocations: 0.8474 MB / 0.5903 GB, free: 3.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.4203, allocations: 37.7 kB / 0.5903 GB, free: 3.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.4205, allocations: 452.5 kB / 0.5907 GB, free: 3.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.4208, allocations: 335.2 kB / 0.591 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.4211, allocations: 194.8 kB / 0.5912 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.4212, allocations: 353.9 kB / 0.5916 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.4224, allocations: 0.6936 MB / 0.5922 GB, free: 1.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4237, allocations: 0.818 MB / 0.593 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.4264, allocations: 1.497 MB / 0.5945 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4264, allocations: 0 / 0.5945 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01342/0.4398, allocations: 4.358 MB / 0.5988 GB, free: 10.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.4399, allocations: 8 kB / 0.5988 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4399, allocations: 0 / 0.5988 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006243/0.4462, allocations: 1.897 MB / 0.6006 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/0.4472, allocations: 175.7 kB / 0.6008 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.4701, allocations: 9.95 MB / 0.6105 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4717, allocations: 166.9 kB / 0.6107 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4719, allocations: 36 kB / 0.6107 GB, free: 14.6 MB / 430.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004345/0.4723, allocations: 221.7 kB / 0.6109 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.4726, allocations: 122.5 kB / 0.611 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.4852, allocations: 4.049 MB / 0.615 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.4853, allocations: 8 kB / 0.615 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4853, allocations: 7.938 kB / 0.615 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.4854, allocations: 7.984 kB / 0.615 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.5002, allocations: 5.632 MB / 0.6205 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5003, allocations: 0 / 0.6205 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.5009, allocations: 95.83 kB / 0.6206 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.5068, allocations: 1.827 MB / 0.6224 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.5069, allocations: 24 kB / 0.6224 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.5257, allocations: 8.631 MB / 0.6308 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5258, allocations: 7.922 kB / 0.6308 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.5401, allocations: 4.956 MB / 0.6357 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.5408, allocations: 195.6 kB / 0.6359 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.5409, allocations: 19.98 kB / 0.6359 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.542, allocations: 91.89 kB / 0.636 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007395/0.5427, allocations: 200.7 kB / 0.6362 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.5428, allocations: 24 kB / 0.6362 GB, free: 4.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008593/0.5437, allocations: 0.5667 MB / 0.6367 GB, free: 3.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5437, allocations: 0 / 0.6367 GB, free: 3.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00153/0.5452, allocations: 439.5 kB / 0.6372 GB, free: 3.133 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.5456, allocations: 135.1 kB / 0.6373 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006334/0.5519, allocations: 2.447 MB / 0.6397 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5519, allocations: 0 / 0.6397 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.5565, allocations: 1.578 MB / 0.6412 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.5574, allocations: 89.25 kB / 0.6413 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.5611, allocations: 1.971 MB / 0.6432 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.5617, allocations: 1.049 MB / 0.6443 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.562, allocations: 90.77 kB / 0.6443 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.5622, allocations: 59.42 kB / 0.6444 GB, free: 11.62 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5622, allocations: 4 kB / 0.6444 GB, free: 11.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03957/0.6018, allocations: 24.17 MB / 0.668 GB, free: 3.461 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)