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.001074/0.001074, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001102/0.001102, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05775/0.05775, allocations: 10.73 MB / 281.3 MB, free: 1.289 MB / 222.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.001381/0.001382, allocations: 67.27 kB / 391.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06963/0.07102, allocations: 49.02 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002018/0.07306, allocations: 1.623 MB / 442.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.07357, allocations: 326.8 kB / 442.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.07363, allocations: 0 / 442.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.07367, allocations: 11.86 kB / 442.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.07379, allocations: 19.8 kB / 442.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.07411, allocations: 95.61 kB / 442.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.07425, allocations: 127.7 kB / 442.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.07435, allocations: 29.48 kB / 442.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.0744, allocations: 47.78 kB / 442.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.07448, allocations: 67.62 kB / 442.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.0745, allocations: 8 kB / 442.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.07457, allocations: 43.97 kB / 442.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.07461, allocations: 35.83 kB / 443 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.07466, allocations: 63.61 kB / 443 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.0748, allocations: 139.5 kB / 443.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.07481, allocations: 0 / 443.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.07481, allocations: 0 / 443.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.07483, allocations: 0 / 443.2 MB, free: 1.191 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.000477/0.07531, allocations: 454.8 kB / 443.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.07535, allocations: 11.89 kB / 443.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.0754, allocations: 16.75 kB / 443.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.07556, allocations: 231.9 kB / 443.8 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.07558, allocations: 8.375 kB / 443.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.0756, allocations: 4.375 kB / 443.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.0758, allocations: 145.6 kB / 444 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.07582, allocations: 192 / 444 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.07584, allocations: 11.94 kB / 444 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.07585, allocations: 4 kB / 444 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.07597, allocations: 51.97 kB / 444.1 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.07655, allocations: 416.4 kB / 444.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.07676, allocations: 110.6 kB / 444.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.07688, allocations: 72.7 kB / 444.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.0769, allocations: 0 / 444.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.07709, allocations: 111.3 kB / 444.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.0771, allocations: 0 / 444.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003964/0.0775, allocations: 193.5 kB / 445 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.07759, allocations: 162.2 kB / 445.1 MB, free: 15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.07774, allocations: 190.2 kB / 445.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.07778, allocations: 37.69 kB / 445.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.07785, allocations: 120 kB / 445.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.07789, allocations: 47.44 kB / 445.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.07795, allocations: 33.72 kB / 445.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.07805, allocations: 334.8 kB / 445.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-05/0.07813, allocations: 31.98 kB / 445.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.07827, allocations: 113.4 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.07845, allocations: 133.9 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.07846, allocations: 0 / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002538/0.07872, allocations: 173.4 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.07874, allocations: 4 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.07875, allocations: 0 / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.07876, allocations: 7.938 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.0789, allocations: 35.92 kB / 446.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.07892, allocations: 7.938 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.07907, allocations: 15.89 kB / 446.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.07909, allocations: 8 kB / 446.4 MB, free: 13.64 MB / 334.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 9.344e-05/0.07919, allocations: 133.8 kB / 446.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.07922, allocations: 15.81 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.07927, allocations: 21.52 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.07928, allocations: 4 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.07929, allocations: 3.938 kB / 446.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.07934, allocations: 88.92 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.07938, allocations: 7.984 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.07952, allocations: 8 kB / 446.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.07956, allocations: 15.98 kB / 446.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003614/0.07993, allocations: 232.9 kB / 446.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004274/0.08037, allocations: 397.3 kB / 447.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.568e-05/0.08047, allocations: 52 kB / 447.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.08058, allocations: 148.3 kB / 447.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.08058, allocations: 0 / 447.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.08102, allocations: 174 kB / 447.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of SimCode: time 0.000565/0.0816, allocations: 0.7002 MB / 448.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Templates: time 0.004389/0.086, allocations: 2.052 MB / 450.4 MB, free: 9.523 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)