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.1489/0.1489, allocations: 12.59 MB / 28.22 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 107.4 kB / 31.84 MB, free: 3.895 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.47/1.47, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.00139/0.00139, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4484/0.4484, allocations: 78.51 MB / 419.3 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.002648/0.002648, allocations: 135.2 kB / 0.5559 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1454, allocations: 68.14 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.007022/0.1525, allocations: 6.089 MB / 0.6283 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1562, allocations: 1.752 MB / 0.6301 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009005/0.1571, allocations: 15.94 kB / 0.6301 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.1579, allocations: 214.2 kB / 0.6303 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.1603, allocations: 0.7479 MB / 0.631 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.1619, allocations: 0.5764 MB / 0.6316 GB, free: 6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1638, allocations: 1.339 MB / 0.6329 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.1644, allocations: 287.3 kB / 0.6332 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1655, allocations: 0.5562 MB / 0.6337 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1667, allocations: 0.6922 MB / 0.6344 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.1671, allocations: 96 kB / 0.6345 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.1678, allocations: 235.9 kB / 0.6347 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.1681, allocations: 262.8 kB / 0.6349 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.1687, allocations: 0.5786 MB / 0.6355 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.1704, allocations: 1.443 MB / 0.6369 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1704, allocations: 4 kB / 0.6369 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1704, allocations: 0 / 0.6369 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.1704, allocations: 4 kB / 0.6369 GB, free: 500 kB / 446.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.007434/0.1779, allocations: 2.484 MB / 0.6393 GB, free: 13.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1779, allocations: 19.91 kB / 0.6394 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.1828, allocations: 0.7719 MB / 0.6401 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.184, allocations: 0.7447 MB / 0.6408 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.1844, allocations: 244.2 kB / 0.6411 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1845, allocations: 79.95 kB / 0.6412 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.1867, allocations: 1.09 MB / 0.6422 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1868, allocations: 3.938 kB / 0.6422 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.1869, allocations: 35.92 kB / 0.6423 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1869, allocations: 16 kB / 0.6423 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.189, allocations: 1.035 MB / 0.6433 GB, free: 9.824 MB / 462.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.005489/0.1945, allocations: 3.057 MB / 0.6463 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.1974, allocations: 1.561 MB / 0.6478 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.1989, allocations: 0.7541 MB / 0.6485 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.472e-05/0.199, allocations: 20.97 kB / 0.6486 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.199, allocations: 43.56 kB / 0.6486 GB, free: 4.113 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.264e-06/0.199, allocations: 0 / 0.6486 GB, free: 4.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02915/0.2282, allocations: 7.477 MB / 0.6559 GB, free: 12.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.2283, allocations: 64.41 kB / 0.656 GB, free: 12.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.2298, allocations: 0.8398 MB / 0.6568 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.23, allocations: 41.7 kB / 0.6568 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.2303, allocations: 457.1 kB / 0.6573 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.2308, allocations: 353 kB / 0.6576 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.2313, allocations: 198.9 kB / 0.6578 GB, free: 10.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2314, allocations: 353.8 kB / 0.6581 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.2329, allocations: 0.6975 MB / 0.6588 GB, free: 9.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.2346, allocations: 0.818 MB / 0.6596 GB, free: 8.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.2376, allocations: 1.497 MB / 0.6611 GB, free: 7.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2376, allocations: 0 / 0.6611 GB, free: 7.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0135/0.2512, allocations: 4.355 MB / 0.6653 GB, free: 2.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2512, allocations: 4 kB / 0.6653 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2512, allocations: 4 kB / 0.6653 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.2577, allocations: 1.897 MB / 0.6672 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.2586, allocations: 175.7 kB / 0.6673 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.2821, allocations: 9.966 MB / 0.6771 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.2837, allocations: 163.2 kB / 0.6772 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.2839, allocations: 39.98 kB / 0.6773 GB, free: 6.43 MB / 494.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.0006009/0.2845, allocations: 225.7 kB / 0.6775 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.2849, allocations: 123.2 kB / 0.6776 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.2978, allocations: 4.049 MB / 0.6816 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.2979, allocations: 8 kB / 0.6816 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2979, allocations: 0 / 0.6816 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.2979, allocations: 7.984 kB / 0.6816 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.3137, allocations: 5.637 MB / 0.6871 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.3137, allocations: 0 / 0.6871 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.3143, allocations: 91.89 kB / 0.6872 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006253/0.3206, allocations: 1.839 MB / 0.689 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.3208, allocations: 16 kB / 0.689 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/0.3412, allocations: 8.64 MB / 0.6974 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3413, allocations: 0 / 0.6974 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.3558, allocations: 4.976 MB / 0.7023 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.3563, allocations: 204.1 kB / 0.7025 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.3566, allocations: 19.98 kB / 0.7025 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.3576, allocations: 91.91 kB / 0.7026 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/0.3584, allocations: 200.6 kB / 0.7028 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.3585, allocations: 24 kB / 0.7028 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008471/0.3593, allocations: 0.5706 MB / 0.7033 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3593, allocations: 0 / 0.7033 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001479/0.3608, allocations: 439.7 kB / 0.7038 GB, free: 10.92 MB / 0.5137 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 () * 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.0003384/0.3612, allocations: 135.1 kB / 0.7039 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006608/0.3678, allocations: 2.447 MB / 0.7063 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3678, allocations: 0 / 0.7063 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.3723, allocations: 1.582 MB / 0.7078 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.373, allocations: 87.38 kB / 0.7079 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.3768, allocations: 2.008 MB / 0.7099 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.3775, allocations: 1.049 MB / 0.7109 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002918/0.3778, allocations: 94.75 kB / 0.711 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.378, allocations: 63.42 kB / 0.711 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.378, allocations: 0 / 0.711 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of Templates: time 0.3147/0.6927, allocations: 24.38 MB / 0.7348 GB, free: 80.15 MB / 0.5137 GB 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)