Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009406/0.009406, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001532/0.001532, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.784/1.784, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06547/0.06547, allocations: 10.73 MB / 280.6 MB, free: 10.41 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.001368/0.001368, allocations: 67.91 kB / 390.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.435, allocations: 49.02 MB / 439.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003187/0.4382, allocations: 1.627 MB / 441.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.4389, allocations: 313.8 kB / 441.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.439, allocations: 1.094 kB / 441.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.4391, allocations: 13.03 kB / 441.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4392, allocations: 20.62 kB / 441.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.4396, allocations: 91.23 kB / 441.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4398, allocations: 130 kB / 442 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4399, allocations: 23.05 kB / 442.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.44, allocations: 54.7 kB / 442.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.4401, allocations: 64.44 kB / 442.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4402, allocations: 11 kB / 442.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.4403, allocations: 41.31 kB / 442.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.4403, allocations: 35.47 kB / 442.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.4404, allocations: 59.98 kB / 442.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.4406, allocations: 148 kB / 442.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4406, allocations: 0.6562 kB / 442.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4407, allocations: 0 / 442.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4407, allocations: 0 / 442.5 MB, free: 3.637 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006415/0.4413, allocations: 457.3 kB / 442.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4414, allocations: 16.05 kB / 442.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.4414, allocations: 17.09 kB / 442.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4416, allocations: 230.8 kB / 443.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.4417, allocations: 11.88 kB / 443.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.4417, allocations: 7.25 kB / 443.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.442, allocations: 144.2 kB / 443.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.442, allocations: 192 / 443.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.4421, allocations: 9.969 kB / 443.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4421, allocations: 1.375 kB / 443.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4422, allocations: 57.73 kB / 443.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.443, allocations: 407.9 kB / 443.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4432, allocations: 114 kB / 443.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.4434, allocations: 58.34 kB / 444 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4434, allocations: 5.188 kB / 444 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.4437, allocations: 108.8 kB / 444.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4437, allocations: 0 / 444.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004783/0.4441, allocations: 201.3 kB / 444.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.4442, allocations: 159.2 kB / 444.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4444, allocations: 194.3 kB / 444.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4444, allocations: 31.52 kB / 444.6 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.4445, allocations: 116.2 kB / 444.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4445, allocations: 48.98 kB / 444.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.4446, allocations: 40.11 kB / 444.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.4447, allocations: 331.9 kB / 445.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.4448, allocations: 32.92 kB / 445.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4449, allocations: 111.7 kB / 445.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4451, allocations: 140.3 kB / 445.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4452, allocations: 1.688 kB / 445.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002991/0.4455, allocations: 166.5 kB / 445.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4455, allocations: 9.469 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4455, allocations: 1.312 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4455, allocations: 3.484 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.4457, allocations: 39.36 kB / 445.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.4457, allocations: 3.312 kB / 445.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4459, allocations: 18.84 kB / 445.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4459, allocations: 10.34 kB / 445.7 MB, free: 1.07 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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001031/0.446, allocations: 131.6 kB / 445.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.446, allocations: 20.16 kB / 445.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.4461, allocations: 20.05 kB / 445.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4461, allocations: 6.156 kB / 445.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4461, allocations: 0 / 445.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4461, allocations: 1.266 kB / 445.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.4467, allocations: 469.3 kB / 446.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4467, allocations: 0.9062 kB / 446.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4468, allocations: 18.42 kB / 446.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4468, allocations: 8.969 kB / 446.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.4468, allocations: 7.562 kB / 446.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4468, allocations: 1.406 kB / 446.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4469, allocations: 4 kB / 446.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.4473, allocations: 309.1 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.4474, allocations: 94.77 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.4474, allocations: 7.484 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4476, allocations: 12.45 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.4476, allocations: 11.94 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4476, allocations: 4.688 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4478, allocations: 145.3 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4478, allocations: 0 / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4481, allocations: 40.55 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001425/0.4482, allocations: 111.9 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.4485, allocations: 123.7 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4486, allocations: 0 / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.4487, allocations: 55.75 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.449, allocations: 35.36 kB / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.4498, allocations: 326.8 kB / 447.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4502, allocations: 0.72 MB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.4503, allocations: 25.31 kB / 448.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.4503, allocations: 17.62 kB / 448.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4503, allocations: 1.156 kB / 448.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Templates: time 0.00543/0.4558, allocations: 1.886 MB / 450.3 MB, free: 14.32 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)