Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.0009821/0.0009823, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001368/0.001368, allocations: 97.44 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5507/0.5507, allocations: 78.94 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.342e-05, allocations: 0 / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5797, allocations: 96.97 MB / 0.6371 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/0.5801, allocations: 84.98 kB / 0.6372 GB, free: 1.066 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09621/0.6764, allocations: 24.53 MB / 0.6612 GB, free: 8.566 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6764, allocations: 0 / 0.6612 GB, free: 8.566 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.596e-05/0.6765, allocations: 20 kB / 0.6612 GB, free: 8.547 MB / 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.005326/0.6818, allocations: 1.667 MB / 0.6628 GB, free: 6.836 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6819, allocations: 12.03 kB / 0.6628 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.6858, allocations: 0.537 MB / 0.6634 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.6875, allocations: 0.6992 MB / 0.664 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.6878, allocations: 232.2 kB / 0.6643 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.688, allocations: 47.91 kB / 0.6643 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/0.6894, allocations: 0.8031 MB / 0.6651 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.6907, allocations: 0.8095 MB / 0.6659 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6908, allocations: 0 / 0.6659 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.6908, allocations: 4 kB / 0.6659 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.6909, allocations: 16 kB / 0.6659 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.6957, allocations: 2.949 MB / 0.6688 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.6979, allocations: 1.409 MB / 0.6702 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.6987, allocations: 0.5545 MB / 0.6707 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.6988, allocations: 12.77 kB / 0.6707 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6988, allocations: 43.34 kB / 0.6708 GB, free: 14.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.6988, allocations: 0 / 0.6708 GB, free: 14.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.0121/0.7109, allocations: 4.153 MB / 0.6748 GB, free: 10.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.711, allocations: 64.84 kB / 0.6749 GB, free: 10.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.712, allocations: 0.651 MB / 0.6755 GB, free: 9.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.7122, allocations: 25.7 kB / 0.6755 GB, free: 9.426 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.7126, allocations: 464.4 kB / 0.676 GB, free: 8.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.7129, allocations: 315.2 kB / 0.6763 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.713, allocations: 0 / 0.6763 GB, free: 8.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7132, allocations: 338 kB / 0.6766 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.7139, allocations: 431.2 kB / 0.677 GB, free: 7.891 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.7146, allocations: 0.5229 MB / 0.6775 GB, free: 7.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.7154, allocations: 470.2 kB / 0.678 GB, free: 6.883 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.7154, allocations: 0 / 0.678 GB, free: 6.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01243/0.7278, allocations: 4.27 MB / 0.6821 GB, free: 2.598 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.7279, allocations: 8.656 kB / 0.6822 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.7279, allocations: 0 / 0.6822 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005525/0.7335, allocations: 1.76 MB / 0.6839 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.7341, allocations: 119.9 kB / 0.684 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.7492, allocations: 7.467 MB / 0.6913 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.7508, allocations: 167.1 kB / 0.6914 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.7509, allocations: 28 kB / 0.6915 GB, free: 8.922 MB / 0.4948 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 () * 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.0002376/0.7511, allocations: 117.7 kB / 0.6916 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.7513, allocations: 110.6 kB / 0.6917 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.764, allocations: 4.244 MB / 0.6958 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.764, allocations: 12 kB / 0.6958 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.764, allocations: 3.953 kB / 0.6958 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.7641, allocations: 3.984 kB / 0.6958 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.7786, allocations: 5.724 MB / 0.7014 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7786, allocations: 0 / 0.7014 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.7792, allocations: 99.83 kB / 0.7015 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005351/0.7846, allocations: 1.727 MB / 0.7032 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.7848, allocations: 0 / 0.7032 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.7978, allocations: 6.551 MB / 0.7096 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7979, allocations: 0 / 0.7096 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.8116, allocations: 4.981 MB / 0.7145 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.8121, allocations: 199.5 kB / 0.7147 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.8123, allocations: 3.984 kB / 0.7147 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8133, allocations: 112.6 kB / 0.7148 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/0.8139, allocations: 204.4 kB / 0.715 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.814, allocations: 20 kB / 0.715 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007246/0.8147, allocations: 0.504 MB / 0.7155 GB, free: 4 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8148, allocations: 0 / 0.7155 GB, free: 4 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001289/0.816, allocations: 387.5 kB / 0.7159 GB, free: 15.62 MB / 0.5261 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 () * 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.0003078/0.8164, allocations: 127.1 kB / 0.716 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005338/0.8217, allocations: 1.966 MB / 0.7179 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8218, allocations: 4.062 kB / 0.7179 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.8261, allocations: 1.462 MB / 0.7193 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.827, allocations: 51.44 kB / 0.7194 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.8299, allocations: 1.478 MB / 0.7208 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.8306, allocations: 1.08 MB / 0.7219 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.831, allocations: 65.58 kB / 0.7219 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.8311, allocations: 48 kB / 0.722 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.8311, allocations: 0 / 0.722 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.03014/0.8613, allocations: 18.76 MB / 0.7403 GB, free: 6.672 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)