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.001529/0.001529, allocations: 115.3 kB / 16.42 MB, free: 6.508 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.00165/0.00165, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06038/0.06038, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001607/0.001607, allocations: 65.94 kB / 391.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06706/0.06868, allocations: 49.04 MB / 440.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002926/0.07164, allocations: 1.611 MB / 442.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006124/0.07228, allocations: 326.8 kB / 442.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.07237, allocations: 0 / 442.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.975e-05/0.07242, allocations: 11.81 kB / 442.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.07255, allocations: 19.8 kB / 442.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.07293, allocations: 99.66 kB / 442.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.07309, allocations: 127.7 kB / 442.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.0732, allocations: 25.44 kB / 442.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.07326, allocations: 51.72 kB / 442.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.07335, allocations: 71.62 kB / 442.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.07338, allocations: 8 kB / 442.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.07346, allocations: 43.97 kB / 442.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.0735, allocations: 35.84 kB / 443 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.07355, allocations: 63.53 kB / 443 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.07374, allocations: 139.4 kB / 443.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.07375, allocations: 0 / 443.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07375, allocations: 0 / 443.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.07376, allocations: 0 / 443.2 MB, free: 1.105 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.0005394/0.07431, allocations: 458.7 kB / 443.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.07435, allocations: 11.89 kB / 443.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.07441, allocations: 16.84 kB / 443.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.07458, allocations: 232 kB / 443.9 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.0746, allocations: 12.36 kB / 443.9 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.07463, allocations: 8.375 kB / 443.9 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.07485, allocations: 137.7 kB / 444 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.07487, allocations: 4.188 kB / 444 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.0749, allocations: 15.92 kB / 444 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.07491, allocations: 0 / 444 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.07504, allocations: 47.97 kB / 444.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.07567, allocations: 412.5 kB / 444.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.0759, allocations: 118.5 kB / 444.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.07602, allocations: 56.84 kB / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.07604, allocations: 0 / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.07628, allocations: 123.3 kB / 444.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 3.437e-06/0.07629, allocations: 0 / 444.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004238/0.07672, allocations: 193.5 kB / 445 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.0768, allocations: 162.2 kB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.07697, allocations: 194.3 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.077, allocations: 29.7 kB / 445.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.07707, allocations: 116.2 kB / 445.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.07712, allocations: 51.64 kB / 445.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.07719, allocations: 37.7 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.07729, allocations: 330.8 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.07738, allocations: 35.97 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.07752, allocations: 117.4 kB / 446 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.07771, allocations: 129.9 kB / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07773, allocations: 0 / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002735/0.078, allocations: 173.3 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.07803, allocations: 6.031 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.07804, allocations: 0 / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.07806, allocations: 7.938 kB / 446.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.07821, allocations: 31.98 kB / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.07823, allocations: 12.12 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.07839, allocations: 19.94 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.07841, allocations: 7.938 kB / 446.4 MB, free: 13.54 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.87e-05/0.07852, allocations: 125.8 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.07855, allocations: 19.89 kB / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.07861, allocations: 21.56 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.07862, allocations: 4 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.07863, allocations: 7.938 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.07868, allocations: 96.95 kB / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.07871, allocations: 4 kB / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.07887, allocations: 11.98 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.07893, allocations: 11.98 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003918/0.07933, allocations: 240.8 kB / 446.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004551/0.07979, allocations: 398.6 kB / 447.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001038/0.07991, allocations: 54.88 kB / 447.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.08002, allocations: 148.2 kB / 447.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.08003, allocations: 0 / 447.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.08051, allocations: 163.1 kB / 447.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006092/0.08113, allocations: 0.7117 MB / 448.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Templates: time 0.00489/0.08603, allocations: 2.051 MB / 450.4 MB, free: 9.414 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)