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.08313/0.08313, allocations: 12.61 MB / 28.87 MB, free: 400 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.001289/0.001289, allocations: 103.5 kB / 32.46 MB, free: 3.453 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.451/1.451, allocations: 205.1 MB / 241.1 MB, free: 9.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 196.5 kB / 291.3 MB, free: 7.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4381/0.438, allocations: 78.5 MB / 419.9 MB, free: 5.695 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.002758/0.002758, allocations: 143 kB / 0.4895 GB, free: 36.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.113, allocations: 68.13 MB / 0.556 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006678/0.1197, allocations: 6.083 MB / 0.562 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.1232, allocations: 1.755 MB / 0.5637 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.1238, allocations: 8 kB / 0.5637 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.1243, allocations: 214.3 kB / 0.5639 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.126, allocations: 0.6986 MB / 0.5646 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1272, allocations: 0.5724 MB / 0.5651 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1286, allocations: 1.343 MB / 0.5664 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.129, allocations: 287.3 kB / 0.5667 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.1296, allocations: 0.5601 MB / 0.5673 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.1304, allocations: 0.6884 MB / 0.5679 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1305, allocations: 107.9 kB / 0.568 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.131, allocations: 231.9 kB / 0.5683 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1312, allocations: 258.9 kB / 0.5685 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004933/0.1317, allocations: 0.5825 MB / 0.5691 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1331, allocations: 1.448 MB / 0.5705 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1331, allocations: 0 / 0.5705 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1332, allocations: 0 / 0.5705 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1332, allocations: 0 / 0.5705 GB, free: 9.059 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.007689/0.1409, allocations: 2.442 MB / 0.5729 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1409, allocations: 11.98 kB / 0.5729 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.1459, allocations: 0.7634 MB / 0.5736 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.1472, allocations: 0.7437 MB / 0.5743 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.1474, allocations: 256.2 kB / 0.5746 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.1476, allocations: 72 kB / 0.5747 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.1496, allocations: 1.079 MB / 0.5757 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1497, allocations: 4 kB / 0.5757 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.1497, allocations: 28 kB / 0.5757 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1498, allocations: 19.98 kB / 0.5758 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.1519, allocations: 1.042 MB / 0.5768 GB, free: 2.457 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.004956/0.1568, allocations: 3.045 MB / 0.5798 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/0.1596, allocations: 1.571 MB / 0.5813 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.161, allocations: 0.7462 MB / 0.582 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.1612, allocations: 16.98 kB / 0.582 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1612, allocations: 43.56 kB / 0.5821 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.105e-06/0.1612, allocations: 0 / 0.5821 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.02874/0.19, allocations: 7.48 MB / 0.5894 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.19, allocations: 60.41 kB / 0.5894 GB, free: 5.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.1912, allocations: 0.8359 MB / 0.5903 GB, free: 4.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.1914, allocations: 45.64 kB / 0.5903 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1917, allocations: 452.5 kB / 0.5907 GB, free: 3.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.192, allocations: 335.3 kB / 0.591 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/0.1924, allocations: 198.8 kB / 0.5912 GB, free: 3.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1925, allocations: 357.9 kB / 0.5916 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.1939, allocations: 0.6936 MB / 0.5923 GB, free: 2.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.1954, allocations: 0.818 MB / 0.5931 GB, free: 1.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.1982, allocations: 1.501 MB / 0.5945 GB, free: 15.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1983, allocations: 0 / 0.5945 GB, free: 15.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0137/0.212, allocations: 4.355 MB / 0.5988 GB, free: 11.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.212, allocations: 8 kB / 0.5988 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2121, allocations: 0 / 0.5988 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006244/0.2183, allocations: 1.893 MB / 0.6006 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/0.2192, allocations: 183.7 kB / 0.6008 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.2418, allocations: 9.941 MB / 0.6105 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.2432, allocations: 159 kB / 0.6107 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.2433, allocations: 39.98 kB / 0.6107 GB, free: 15.12 MB / 446.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.0003834/0.2437, allocations: 229.6 kB / 0.6109 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.2439, allocations: 114.5 kB / 0.611 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.2568, allocations: 4.049 MB / 0.615 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.2569, allocations: 15.94 kB / 0.615 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2569, allocations: 3.938 kB / 0.615 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.2569, allocations: 3.984 kB / 0.615 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.272, allocations: 5.625 MB / 0.6205 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.2721, allocations: 4 kB / 0.6205 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.2727, allocations: 83.89 kB / 0.6206 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005997/0.2787, allocations: 1.843 MB / 0.6224 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.2789, allocations: 16 kB / 0.6224 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/0.2983, allocations: 8.634 MB / 0.6308 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2984, allocations: 0 / 0.6308 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.3133, allocations: 4.971 MB / 0.6357 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.3137, allocations: 195.7 kB / 0.6359 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.3139, allocations: 20 kB / 0.6359 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/0.3149, allocations: 95.89 kB / 0.636 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006226/0.3155, allocations: 200.7 kB / 0.6362 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.3156, allocations: 27.98 kB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006924/0.3163, allocations: 0.5589 MB / 0.6367 GB, free: 4.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3163, allocations: 0 / 0.6367 GB, free: 4.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001168/0.3175, allocations: 443.6 kB / 0.6372 GB, free: 3.645 MB / 462.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.0002548/0.3177, allocations: 131.2 kB / 0.6373 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006362/0.3241, allocations: 2.443 MB / 0.6397 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3241, allocations: 0 / 0.6397 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004542/0.3287, allocations: 1.578 MB / 0.6412 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.3293, allocations: 90.17 kB / 0.6413 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.3326, allocations: 1.972 MB / 0.6432 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.3332, allocations: 1.061 MB / 0.6443 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.3335, allocations: 82.78 kB / 0.6443 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3337, allocations: 63.42 kB / 0.6444 GB, free: 12.14 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3337, allocations: 0 / 0.6444 GB, free: 12.14 MB / 478.1 MB Notification: Performance of Templates: time 0.2279/0.5616, allocations: 24.16 MB / 0.668 GB, free: 92.36 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 gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)