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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004289/0.004288, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008341/0.0008341, allocations: 94.77 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4061/0.4061, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 8 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2977, allocations: 69.35 MB / 0.5557 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3997, allocations: 97.14 MB / 0.6506 GB, free: 9.258 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.3999, allocations: 91.94 kB / 0.6507 GB, free: 9.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05907/0.459, allocations: 24.64 MB / 0.6747 GB, free: 404 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4591, allocations: 0 / 0.6747 GB, free: 404 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.4591, allocations: 19.94 kB / 0.6748 GB, free: 384 kB / 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.004185/0.4633, allocations: 1.873 MB / 0.6766 GB, free: 14.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4633, allocations: 8.031 kB / 0.6766 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.4662, allocations: 0.5487 MB / 0.6771 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4672, allocations: 0.6991 MB / 0.6778 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4675, allocations: 264.2 kB / 0.6781 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.4676, allocations: 75.86 kB / 0.6781 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.4697, allocations: 1.149 MB / 0.6793 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4697, allocations: 3.938 kB / 0.6793 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.4698, allocations: 28 kB / 0.6793 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.4698, allocations: 16 kB / 0.6793 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.4719, allocations: 1.117 MB / 0.6804 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.4765, allocations: 3.065 MB / 0.6834 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.4793, allocations: 1.71 MB / 0.6851 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.4794, allocations: 24.92 kB / 0.6851 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4794, allocations: 51.5 kB / 0.6851 GB, free: 5.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.034e-06/0.4794, allocations: 0 / 0.6851 GB, free: 5.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.02753/0.5069, allocations: 8.868 MB / 0.6938 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.507, allocations: 64.39 kB / 0.6938 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.5079, allocations: 0.7101 MB / 0.6945 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.508, allocations: 45.7 kB / 0.6946 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.5083, allocations: 452.3 kB / 0.695 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.5086, allocations: 327.2 kB / 0.6953 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.5087, allocations: 16 kB / 0.6953 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5088, allocations: 341.9 kB / 0.6957 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.5101, allocations: 0.6734 MB / 0.6963 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.5115, allocations: 0.7679 MB / 0.6971 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.5128, allocations: 0.7019 MB / 0.6978 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5129, allocations: 11.94 kB / 0.6978 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01341/0.5263, allocations: 5.047 MB / 0.7027 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5263, allocations: 4 kB / 0.7027 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5263, allocations: 4 kB / 0.7027 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/0.5326, allocations: 2.221 MB / 0.7049 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.5332, allocations: 119.8 kB / 0.705 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.5544, allocations: 10.75 MB / 0.7155 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5556, allocations: 179.2 kB / 0.7157 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.5556, allocations: 28 kB / 0.7157 GB, free: 5.758 MB / 0.5105 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 () * Number of clocked 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.0004178/0.5561, allocations: 217.7 kB / 0.7159 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.5562, allocations: 110.6 kB / 0.716 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.5694, allocations: 5.022 MB / 0.7209 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5694, allocations: 11.98 kB / 0.7209 GB, free: 380 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5694, allocations: 4 kB / 0.7209 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.5694, allocations: 3.984 kB / 0.7209 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5839, allocations: 6.585 MB / 0.7274 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5839, allocations: 0 / 0.7274 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.5844, allocations: 99.83 kB / 0.7275 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005804/0.5903, allocations: 2.16 MB / 0.7296 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.5903, allocations: 20 kB / 0.7296 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.6088, allocations: 9.297 MB / 0.7387 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6089, allocations: 7.891 kB / 0.7387 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.6239, allocations: 5.969 MB / 0.7445 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.6242, allocations: 199.6 kB / 0.7447 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.6244, allocations: 23.95 kB / 0.7447 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.6253, allocations: 127.9 kB / 0.7448 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/0.6258, allocations: 200.6 kB / 0.745 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.6259, allocations: 27.98 kB / 0.7451 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006529/0.6266, allocations: 0.5589 MB / 0.7456 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6266, allocations: 0 / 0.7456 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001034/0.6276, allocations: 423.5 kB / 0.746 GB, free: 6.352 MB / 0.5417 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 (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.000236/0.6279, allocations: 151 kB / 0.7461 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0059/0.6338, allocations: 2.53 MB / 0.7486 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6338, allocations: 4 kB / 0.7486 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004311/0.6381, allocations: 1.753 MB / 0.7503 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.6386, allocations: 67.44 kB / 0.7504 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.6416, allocations: 2.384 MB / 0.7527 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.6422, allocations: 1.08 MB / 0.7538 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.6424, allocations: 61.67 kB / 0.7538 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6426, allocations: 47.44 kB / 0.7539 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.6426, allocations: 3.938 kB / 0.7539 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.2224/0.865, allocations: 20.18 MB / 0.7736 GB, free: 150.6 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)