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/ModelicaServices 4.0.0+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/Modelica 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) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008334/0.008334, allocations: 100.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 196.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07513/0.07513, allocations: 10.75 MB / 280.6 MB, free: 10.42 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.52 kB / 390.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4213, allocations: 49.01 MB / 439.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003697/0.4251, allocations: 1.596 MB / 441.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.4259, allocations: 253.5 kB / 441.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4261, allocations: 5.312 kB / 441.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.4262, allocations: 9.328 kB / 441.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.4263, allocations: 16.83 kB / 441.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.4268, allocations: 64.36 kB / 441.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.427, allocations: 102.8 kB / 441.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4272, allocations: 25.22 kB / 441.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.4273, allocations: 41.48 kB / 441.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.4274, allocations: 53.42 kB / 442 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.4274, allocations: 9.625 kB / 442 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.4276, allocations: 38.77 kB / 442 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.4276, allocations: 24.45 kB / 442.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.4277, allocations: 44.12 kB / 442.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.4279, allocations: 114.3 kB / 442.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.428, allocations: 4 kB / 442.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.428, allocations: 0 / 442.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.428, allocations: 0 / 442.2 MB, free: 3.785 MB / 318.1 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.0007585/0.4287, allocations: 425.1 kB / 442.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.4288, allocations: 13.48 kB / 442.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.4289, allocations: 15.98 kB / 442.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4292, allocations: 218.1 kB / 442.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.4292, allocations: 4.938 kB / 442.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.4292, allocations: 14.47 kB / 442.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.4295, allocations: 89.86 kB / 443 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4295, allocations: 192 / 443 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4295, allocations: 5.938 kB / 443 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4295, allocations: 1.281 kB / 443 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.4297, allocations: 45.47 kB / 443 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.4304, allocations: 383.7 kB / 443.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.4306, allocations: 104.9 kB / 443.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.4307, allocations: 60.47 kB / 443.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4307, allocations: 0 / 443.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.431, allocations: 112.3 kB / 443.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.431, allocations: 3.984 kB / 443.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004514/0.4315, allocations: 188.2 kB / 443.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4315, allocations: 55.48 kB / 443.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.4317, allocations: 167.5 kB / 444.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4317, allocations: 28.23 kB / 444.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.4318, allocations: 113 kB / 444.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4318, allocations: 44.69 kB / 444.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.4319, allocations: 36.92 kB / 444.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.432, allocations: 330.6 kB / 444.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.4321, allocations: 30.34 kB / 444.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4322, allocations: 77.89 kB / 444.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.4324, allocations: 129.5 kB / 444.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4324, allocations: 0 / 444.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002512/0.4326, allocations: 161.9 kB / 445 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4327, allocations: 4.906 kB / 445 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4327, allocations: 1.406 kB / 445 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4327, allocations: 4.766 kB / 445 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4329, allocations: 28.75 kB / 445.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4329, allocations: 3.531 kB / 445.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.4329, allocations: 17.08 kB / 445.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.433, allocations: 14.25 kB / 445.1 MB, free: 1.508 MB / 318.1 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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/0.4331, allocations: 129.6 kB / 445.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4331, allocations: 11.42 kB / 445.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.4331, allocations: 17.55 kB / 445.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4332, allocations: 3.062 kB / 445.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4332, allocations: 0 / 445.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4332, allocations: 1.406 kB / 445.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.4337, allocations: 443.1 kB / 445.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4337, allocations: 3.938 kB / 445.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4338, allocations: 17.47 kB / 445.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4338, allocations: 1.469 kB / 445.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4339, allocations: 2.219 kB / 445.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4339, allocations: 1.281 kB / 445.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4339, allocations: 8.719 kB / 445.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.4343, allocations: 295.7 kB / 446 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.4344, allocations: 90.45 kB / 446.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4344, allocations: 7.281 kB / 446.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.4345, allocations: 2.812 kB / 446.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.4346, allocations: 15.41 kB / 446.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4346, allocations: 8.406 kB / 446.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4347, allocations: 123.1 kB / 446.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4347, allocations: 3.938 kB / 446.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.435, allocations: 30.94 kB / 446.3 MB, free: 0.5703 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.4352, allocations: 113.5 kB / 446.4 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.4356, allocations: 98.88 kB / 446.5 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4356, allocations: 3.938 kB / 446.5 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4357, allocations: 48.27 kB / 446.5 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4361, allocations: 27.28 kB / 446.6 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.4369, allocations: 283.6 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4373, allocations: 0.7071 MB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.4374, allocations: 22.72 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.4374, allocations: 15.22 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4375, allocations: 3.938 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Templates: time 0.005781/0.4432, allocations: 1.389 MB / 449 MB, free: 15.18 MB / 334.1 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)