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.0009812/0.0009812, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05934/0.05934, allocations: 10.66 MB / 18.73 MB, free: 1.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.3 MB / 226.9 MB, free: 7.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007853, allocations: 90.41 kB / 277.3 MB, free: 5.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.345e-05, allocations: 0 / 333.5 MB, free: 28.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08394, allocations: 49.99 MB / 383.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.4126, allocations: 76.93 MB / 460.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4129, allocations: 77.06 kB / 460.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005634/0.4185, allocations: 2.393 MB / 462.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4186, allocations: 0 / 462.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4186, allocations: 4 kB / 462.9 MB, free: 5.703 MB / 330.7 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.00046/0.4191, allocations: 393.7 kB / 463.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4191, allocations: 8.031 kB / 463.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4192, allocations: 21.83 kB / 463.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4194, allocations: 203.7 kB / 463.5 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4195, allocations: 4 kB / 463.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4195, allocations: 4 kB / 463.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.4196, allocations: 31.44 kB / 463.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4198, allocations: 72.97 kB / 463.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.4198, allocations: 0 / 463.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4198, allocations: 4 kB / 463.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4198, allocations: 7.953 kB / 463.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.4204, allocations: 355.8 kB / 464 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4206, allocations: 93.47 kB / 464.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.4207, allocations: 48.3 kB / 464.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4207, allocations: 0 / 464.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.4209, allocations: 104.4 kB / 464.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.4209, allocations: 0 / 464.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000406/0.4213, allocations: 156.2 kB / 464.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.4214, allocations: 59.41 kB / 464.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4215, allocations: 146.2 kB / 464.6 MB, free: 4.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4216, allocations: 33.69 kB / 464.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.4216, allocations: 109.2 kB / 464.7 MB, free: 3.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.4217, allocations: 35.36 kB / 464.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.4217, allocations: 0 / 464.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4218, allocations: 328.7 kB / 465.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.4219, allocations: 24.38 kB / 465.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.422, allocations: 76.94 kB / 465.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.422, allocations: 34.67 kB / 465.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.422, allocations: 0 / 465.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001835/0.4222, allocations: 143.8 kB / 465.4 MB, free: 3.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4222, allocations: 4 kB / 465.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4223, allocations: 4 kB / 465.4 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4223, allocations: 0 / 465.4 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4224, allocations: 30.92 kB / 465.4 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4224, allocations: 8.484 kB / 465.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.4225, allocations: 12.95 kB / 465.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4225, allocations: 12 kB / 465.4 MB, free: 3.215 MB / 330.7 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 () * 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 8.721e-05/0.4226, allocations: 108.6 kB / 465.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4227, allocations: 15.86 kB / 465.6 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.4227, allocations: 13.78 kB / 465.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4227, allocations: 0 / 465.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4227, allocations: 3.984 kB / 465.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4227, allocations: 7.922 kB / 465.6 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.4232, allocations: 421.3 kB / 466 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4232, allocations: 4 kB / 466 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4234, allocations: 16 kB / 466 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-05/0.4234, allocations: 7.938 kB / 466 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4234, allocations: 4 kB / 466 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4234, allocations: 0 / 466 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4234, allocations: 3.938 kB / 466 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4239, allocations: 299.4 kB / 466.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.424, allocations: 89.03 kB / 466.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.424, allocations: 3.953 kB / 466.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.4241, allocations: 4 kB / 466.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4242, allocations: 11.11 kB / 466.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.4242, allocations: 4 kB / 466.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.4243, allocations: 117.1 kB / 466.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4243, allocations: 0 / 466.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.4245, allocations: 31.92 kB / 466.6 MB, free: 2.105 MB / 330.7 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) * 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.0001633/0.4247, allocations: 122.5 kB / 466.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.4249, allocations: 88.17 kB / 466.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4249, allocations: 0 / 466.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.425, allocations: 44.94 kB / 466.8 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.4252, allocations: 24.5 kB / 466.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.4258, allocations: 205.9 kB / 467.1 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4261, allocations: 0.7163 MB / 467.8 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.11e-05/0.4262, allocations: 13.2 kB / 467.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.4262, allocations: 19.44 kB / 467.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4262, allocations: 0 / 467.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of Templates: time 0.003565/0.4298, allocations: 1.15 MB / 469 MB, free: 15.74 MB / 346.7 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)