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.07996/0.07996, allocations: 12.6 MB / 28.91 MB, free: 0.6367 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.001036/0.001036, allocations: 111.5 kB / 32.5 MB, free: 3.578 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.285/1.285, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001347/0.001347, allocations: 191.5 kB / 291.4 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.4169/0.4169, allocations: 78.51 MB / 420 MB, free: 11.26 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.0025/0.0025, allocations: 135.2 kB / 0.5565 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1187, allocations: 68.13 MB / 0.6231 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005951/0.1247, allocations: 6.104 MB / 0.629 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1279, allocations: 1.752 MB / 0.6307 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.1285, allocations: 19.94 kB / 0.6307 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.1291, allocations: 210.2 kB / 0.6309 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.1308, allocations: 0.7472 MB / 0.6317 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1319, allocations: 0.5687 MB / 0.6322 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.1332, allocations: 1.339 MB / 0.6335 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.1336, allocations: 283.3 kB / 0.6338 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.1341, allocations: 0.564 MB / 0.6344 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.1348, allocations: 0.6883 MB / 0.635 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.135, allocations: 100 kB / 0.6351 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.1354, allocations: 231.9 kB / 0.6353 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.1356, allocations: 262.8 kB / 0.6356 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.136, allocations: 0.5825 MB / 0.6362 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1373, allocations: 1.44 MB / 0.6376 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1373, allocations: 0 / 0.6376 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1373, allocations: 3.938 kB / 0.6376 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1373, allocations: 4 kB / 0.6376 GB, free: 0.5039 MB / 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.007333/0.1446, allocations: 2.442 MB / 0.64 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1447, allocations: 15.98 kB / 0.64 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.1495, allocations: 0.7711 MB / 0.6407 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1506, allocations: 0.7321 MB / 0.6414 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.1509, allocations: 252.2 kB / 0.6417 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.151, allocations: 76 kB / 0.6418 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.1531, allocations: 1.086 MB / 0.6428 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1532, allocations: 3.938 kB / 0.6428 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.1532, allocations: 24 kB / 0.6428 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.1533, allocations: 20 kB / 0.6429 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.1554, allocations: 1.035 MB / 0.6439 GB, free: 9.902 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.00484/0.1602, allocations: 3.057 MB / 0.6469 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.1632, allocations: 1.565 MB / 0.6484 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.1648, allocations: 0.7541 MB / 0.6491 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-05/0.1649, allocations: 12.98 kB / 0.6491 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1649, allocations: 43.56 kB / 0.6492 GB, free: 4.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.356e-06/0.1649, allocations: 0 / 0.6492 GB, free: 4.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02955/0.1945, allocations: 7.472 MB / 0.6565 GB, free: 12.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1946, allocations: 64.41 kB / 0.6565 GB, free: 12.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.1958, allocations: 0.8397 MB / 0.6574 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.196, allocations: 41.7 kB / 0.6574 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1963, allocations: 452.5 kB / 0.6578 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.1967, allocations: 335.3 kB / 0.6581 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.1971, allocations: 198.8 kB / 0.6583 GB, free: 10.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1973, allocations: 353.9 kB / 0.6587 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.1988, allocations: 0.6974 MB / 0.6594 GB, free: 9.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2003, allocations: 0.8219 MB / 0.6602 GB, free: 8.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.2033, allocations: 1.497 MB / 0.6616 GB, free: 7.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.2033, allocations: 0 / 0.6616 GB, free: 7.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01395/0.2173, allocations: 4.355 MB / 0.6659 GB, free: 2.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.2174, allocations: 11.98 kB / 0.6659 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2174, allocations: 0 / 0.6659 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.224, allocations: 1.889 MB / 0.6677 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.225, allocations: 179.7 kB / 0.6679 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/0.2487, allocations: 9.942 MB / 0.6776 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.2502, allocations: 163 kB / 0.6778 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.2504, allocations: 43.97 kB / 0.6778 GB, free: 6.547 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.0005068/0.2509, allocations: 229.6 kB / 0.678 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.2512, allocations: 114.5 kB / 0.6781 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.2646, allocations: 4.053 MB / 0.6821 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.2647, allocations: 8 kB / 0.6821 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2647, allocations: 0 / 0.6821 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.2647, allocations: 7.984 kB / 0.6821 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.2801, allocations: 5.636 MB / 0.6876 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.2801, allocations: 0 / 0.6876 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.2807, allocations: 87.91 kB / 0.6877 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/0.287, allocations: 1.839 MB / 0.6895 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.2872, allocations: 16 kB / 0.6895 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/0.3077, allocations: 8.635 MB / 0.6979 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3078, allocations: 0 / 0.6979 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.3229, allocations: 4.963 MB / 0.7028 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.3233, allocations: 199.6 kB / 0.703 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.3236, allocations: 16 kB / 0.703 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.3247, allocations: 91.89 kB / 0.7031 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.3254, allocations: 200.7 kB / 0.7033 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.3255, allocations: 27.94 kB / 0.7033 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007623/0.3262, allocations: 0.5628 MB / 0.7038 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3263, allocations: 4 kB / 0.7039 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001325/0.3276, allocations: 435.6 kB / 0.7043 GB, free: 11.07 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.0002794/0.3279, allocations: 135.1 kB / 0.7044 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006621/0.3345, allocations: 2.443 MB / 0.7068 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3345, allocations: 0 / 0.7068 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/0.3393, allocations: 1.574 MB / 0.7083 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.3403, allocations: 87.36 kB / 0.7084 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.3442, allocations: 2.012 MB / 0.7104 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.3448, allocations: 1.057 MB / 0.7114 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.3452, allocations: 63.42 kB / 0.7115 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.3452, allocations: 4 kB / 0.7115 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of Templates: time 0.2692/0.6144, allocations: 18.92 MB / 0.7299 GB, free: 81.09 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)