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.001265/0.001265, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001222/0.001222, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05929/0.05929, 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.001455/0.001455, allocations: 72.42 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.07513, allocations: 49.04 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002159/0.07733, allocations: 1.576 MB / 442.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004502/0.0778, allocations: 251.1 kB / 442.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.07786, allocations: 4 kB / 442.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.07792, allocations: 11.88 kB / 442.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.07801, allocations: 19.8 kB / 442.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.07828, allocations: 71.8 kB / 442.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.07841, allocations: 99.75 kB / 442.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.07853, allocations: 17.44 kB / 442.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.07859, allocations: 43.72 kB / 442.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.07867, allocations: 55.77 kB / 442.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.07869, allocations: 11.94 kB / 442.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.07876, allocations: 27.98 kB / 442.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.07879, allocations: 39.83 kB / 442.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.07884, allocations: 43.67 kB / 442.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.079, allocations: 119.5 kB / 442.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.07902, allocations: 0 / 442.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07902, allocations: 0 / 442.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.07903, allocations: 0 / 442.9 MB, free: 1.422 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.0004745/0.07951, allocations: 426.9 kB / 443.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.07955, allocations: 11.89 kB / 443.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.0796, allocations: 12.84 kB / 443.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.07975, allocations: 212 kB / 443.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.07977, allocations: 8.375 kB / 443.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.0798, allocations: 8.281 kB / 443.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.07998, allocations: 90.14 kB / 443.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.08, allocations: 192 / 443.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.08002, allocations: 11.94 kB / 443.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.08003, allocations: 4 kB / 443.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.08015, allocations: 47.97 kB / 443.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.08064, allocations: 376.5 kB / 444.1 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.08087, allocations: 106.6 kB / 444.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.08099, allocations: 56.84 kB / 444.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.08101, allocations: 4 kB / 444.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.08123, allocations: 106.5 kB / 444.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.08124, allocations: 4 kB / 444.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004114/0.08166, allocations: 177.5 kB / 444.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.08171, allocations: 55.41 kB / 444.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.08187, allocations: 171.2 kB / 444.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.0819, allocations: 37.69 kB / 444.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.08198, allocations: 108.1 kB / 444.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.08202, allocations: 43.44 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.08208, allocations: 37.7 kB / 445 MB, free: 15.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.08221, allocations: 326.8 kB / 445.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.0823, allocations: 35.98 kB / 445.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.08242, allocations: 85.19 kB / 445.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.08263, allocations: 125.9 kB / 445.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.08264, allocations: 4 kB / 445.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002516/0.0829, allocations: 165.1 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.08293, allocations: 12.19 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.08294, allocations: 0 / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.08296, allocations: 4 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.0831, allocations: 31.98 kB / 445.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.08312, allocations: 3.938 kB / 445.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.08318, allocations: 7.906 kB / 445.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.0832, allocations: 12 kB / 445.8 MB, free: 14.29 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,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 9.988e-05/0.0833, allocations: 129.7 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.08333, allocations: 11.91 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.08338, allocations: 17.52 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.0834, allocations: 3.984 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0834, allocations: 0 / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.08346, allocations: 92.91 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.08349, allocations: 8 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.08355, allocations: 7.875 kB / 446 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.0836, allocations: 15.98 kB / 446.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003546/0.08396, allocations: 216.9 kB / 446.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004497/0.08443, allocations: 362.6 kB / 446.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.736e-05/0.08453, allocations: 51.94 kB / 446.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.08462, allocations: 120 kB / 446.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.08463, allocations: 0 / 446.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.08508, allocations: 162.3 kB / 447 MB, free: 13.05 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006124/0.0857, allocations: 0.6888 MB / 447.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004067/0.08978, allocations: 1.511 MB / 449.2 MB, free: 10.82 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)