Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 178 kB / 16.12 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0602/0.06021, allocations: 10.76 MB / 27.63 MB, free: 1.449 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 236.2 MB, free: 12.21 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008266/0.0008267, allocations: 93.11 kB / 287 MB, free: 12.66 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 12 kB / 347.6 MB, free: 15.9 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 50 MB / 397.6 MB, free: 34.65 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3782, allocations: 77.39 MB / 475 MB, free: 5.152 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.3785, allocations: 79.95 kB / 475.1 MB, free: 5.074 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.005643/0.3841, allocations: 2.426 MB / 477.5 MB, free: 2.637 MB / 346.8 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3842, allocations: 0 / 477.5 MB, free: 2.637 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3842, allocations: 4 kB / 477.5 MB, free: 2.633 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004903/0.3847, allocations: 410.9 kB / 477.9 MB, free: 2.18 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3847, allocations: 8.031 kB / 477.9 MB, free: 2.172 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.3848, allocations: 16.75 kB / 478 MB, free: 2.156 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.385, allocations: 218.9 kB / 478.2 MB, free: 1.906 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.385, allocations: 4.375 kB / 478.2 MB, free: 1.902 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3851, allocations: 8.375 kB / 478.2 MB, free: 1.895 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3853, allocations: 94.14 kB / 478.3 MB, free: 1.797 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3853, allocations: 192 / 478.3 MB, free: 1.797 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3853, allocations: 7.938 kB / 478.3 MB, free: 1.789 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3854, allocations: 4 kB / 478.3 MB, free: 1.785 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3855, allocations: 47.97 kB / 478.3 MB, free: 1.738 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.3862, allocations: 392.5 kB / 478.7 MB, free: 1.305 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3864, allocations: 106.6 kB / 478.8 MB, free: 1.191 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3865, allocations: 64.72 kB / 478.9 MB, free: 1.125 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.3866, allocations: 0 / 478.9 MB, free: 1.125 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.3868, allocations: 112.2 kB / 479 MB, free: 1.004 MB / 346.8 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3869, allocations: 0 / 479 MB, free: 1.004 MB / 346.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004456/0.3873, allocations: 190.1 kB / 479.2 MB, free: 0.8125 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3874, allocations: 51.41 kB / 479.2 MB, free: 0.75 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3875, allocations: 167.4 kB / 479.4 MB, free: 0.5703 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3876, allocations: 33.7 kB / 479.4 MB, free: 0.5312 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.3877, allocations: 110.5 kB / 479.5 MB, free: 432 kB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3877, allocations: 43.44 kB / 479.6 MB, free: 388 kB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3877, allocations: 0 / 479.6 MB, free: 388 kB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3879, allocations: 330.8 kB / 479.9 MB, free: 48 kB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.743e-05/0.3879, allocations: 35.97 kB / 479.9 MB, free: 12 kB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3881, allocations: 89.94 kB / 480 MB, free: 15.9 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.3883, allocations: 130.4 kB / 480.1 MB, free: 15.75 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3883, allocations: 4 kB / 480.1 MB, free: 15.75 MB / 362.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002593/0.3886, allocations: 157.7 kB / 480.3 MB, free: 15.59 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3886, allocations: 4 kB / 480.3 MB, free: 15.59 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3886, allocations: 7.938 kB / 480.3 MB, free: 15.58 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3886, allocations: 4 kB / 480.3 MB, free: 15.57 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3888, allocations: 31.92 kB / 480.3 MB, free: 15.54 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3888, allocations: 4 kB / 480.4 MB, free: 15.54 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.3889, allocations: 11.91 kB / 480.4 MB, free: 15.53 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3889, allocations: 8 kB / 480.4 MB, free: 15.52 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.fO_dig_BE.y,fO_dig_BE.y,$PRE.fO_dig_FE.y,fO_dig_FE.y,$PRE.fO_dig_TU.y,fO_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.389, allocations: 141.7 kB / 480.5 MB, free: 15.37 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.389, allocations: 7.906 kB / 480.5 MB, free: 15.36 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.3891, allocations: 13.53 kB / 480.5 MB, free: 15.35 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3891, allocations: 0 / 480.5 MB, free: 15.35 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3891, allocations: 4 kB / 480.5 MB, free: 15.35 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3891, allocations: 0 / 480.5 MB, free: 15.35 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.3896, allocations: 446.3 kB / 481 MB, free: 14.86 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3896, allocations: 0 / 481 MB, free: 14.86 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.3897, allocations: 23.98 kB / 481 MB, free: 14.83 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3897, allocations: 0 / 481 MB, free: 14.83 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3898, allocations: 4 kB / 481 MB, free: 14.83 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3898, allocations: 0 / 481 MB, free: 14.83 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3898, allocations: 3.938 kB / 481 MB, free: 14.82 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3902, allocations: 295.4 kB / 481.3 MB, free: 14.52 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3902, allocations: 92.95 kB / 481.4 MB, free: 14.41 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3903, allocations: 3.938 kB / 481.4 MB, free: 14.41 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3904, allocations: 7.984 kB / 481.4 MB, free: 14.4 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3904, allocations: 19.86 kB / 481.4 MB, free: 14.38 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3904, allocations: 7.984 kB / 481.4 MB, free: 14.37 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001/0.3905, allocations: 125.4 kB / 481.5 MB, free: 14.25 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3905, allocations: 0 / 481.5 MB, free: 14.25 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002592/0.3908, allocations: 35.94 kB / 481.6 MB, free: 14.21 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.391, allocations: 115.2 kB / 481.7 MB, free: 14.09 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3913, allocations: 104.2 kB / 481.8 MB, free: 13.99 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3913, allocations: 8 kB / 481.8 MB, free: 13.98 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3914, allocations: 52.61 kB / 481.9 MB, free: 13.93 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3917, allocations: 21.62 kB / 481.9 MB, free: 13.91 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.3925, allocations: 312.4 kB / 482.2 MB, free: 13.59 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3929, allocations: 0.7049 MB / 482.9 MB, free: 12.86 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.393, allocations: 25.36 kB / 482.9 MB, free: 12.82 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.393, allocations: 19.42 kB / 482.9 MB, free: 12.81 MB / 362.8 MB Notification: Performance of SimCode: time 3.5e-07/0.393, allocations: 0 / 482.9 MB, free: 12.81 MB / 362.8 MB Notification: Performance of Templates: time 0.003657/0.3967, allocations: 1.239 MB / 484.2 MB, free: 11.57 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1)