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.001272/0.001272, allocations: 108.2 kB / 16.41 MB, free: 6.418 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.00102/0.00102, allocations: 192.3 kB / 17.35 MB, free: 5.688 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05865/0.05865, allocations: 10.75 MB / 281.3 MB, free: 1.277 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.001419/0.001419, allocations: 67.7 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06374/0.06517, allocations: 49.03 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002002/0.0672, allocations: 1.588 MB / 442.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.06765, allocations: 255.1 kB / 442.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.06771, allocations: 4 kB / 442.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.06775, allocations: 11.86 kB / 442.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.06784, allocations: 15.81 kB / 442.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.06808, allocations: 71.8 kB / 442.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.06822, allocations: 103.7 kB / 442.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.06833, allocations: 13.45 kB / 442.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.06837, allocations: 47.77 kB / 442.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.06843, allocations: 47.72 kB / 442.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.06846, allocations: 8 kB / 442.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.06852, allocations: 39.97 kB / 442.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.06855, allocations: 27.91 kB / 442.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.0686, allocations: 55.61 kB / 442.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.06874, allocations: 107.5 kB / 442.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.06875, allocations: 3.938 kB / 442.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06876, allocations: 0 / 442.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.06877, allocations: 0 / 442.9 MB, free: 1.414 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.0004486/0.06922, allocations: 434.7 kB / 443.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.06926, allocations: 11.89 kB / 443.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.0693, allocations: 20.84 kB / 443.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.06944, allocations: 204.1 kB / 443.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.06946, allocations: 8.375 kB / 443.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.06949, allocations: 12.36 kB / 443.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.06966, allocations: 86.16 kB / 443.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.06967, allocations: 192 / 443.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.06969, allocations: 7.922 kB / 443.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.0697, allocations: 7.938 kB / 443.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.06981, allocations: 39.98 kB / 443.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.07027, allocations: 388.6 kB / 444.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.07047, allocations: 106.6 kB / 444.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.07059, allocations: 60.77 kB / 444.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.07061, allocations: 0 / 444.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.07082, allocations: 103.4 kB / 444.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.07083, allocations: 0 / 444.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003824/0.07122, allocations: 189.1 kB / 444.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.07126, allocations: 55.41 kB / 444.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.0714, allocations: 171.3 kB / 444.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.07143, allocations: 33.7 kB / 444.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.07151, allocations: 112 kB / 444.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.07155, allocations: 43.81 kB / 445 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.0716, allocations: 33.72 kB / 445 MB, free: 15.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.07172, allocations: 330.8 kB / 445.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.0718, allocations: 31.98 kB / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.07191, allocations: 85.25 kB / 445.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.0721, allocations: 125.9 kB / 445.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.07211, allocations: 0 / 445.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002479/0.07236, allocations: 153.4 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.07239, allocations: 15.88 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.0724, allocations: 0 / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.07241, allocations: 4 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.07255, allocations: 28.17 kB / 445.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.07256, allocations: 4 kB / 445.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.07263, allocations: 15.89 kB / 445.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.07265, allocations: 11.98 kB / 445.8 MB, free: 14.27 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 8.758e-05/0.07274, allocations: 133.7 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.07277, allocations: 11.91 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.07282, allocations: 17.53 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.07283, allocations: 0 / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.07284, allocations: 3.984 kB / 446 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.07288, allocations: 93.02 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.07292, allocations: 4 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.07297, allocations: 7.938 kB / 446.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.07302, allocations: 7.984 kB / 446.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003499/0.07337, allocations: 228.8 kB / 446.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004055/0.07379, allocations: 370.5 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.912e-05/0.07389, allocations: 44 kB / 446.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.006e-05/0.07398, allocations: 124 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Backend: time 2.31e-07/0.07398, allocations: 0 / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.07442, allocations: 156 kB / 447 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005916/0.07502, allocations: 0.7009 MB / 447.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Templates: time 0.003866/0.0789, allocations: 1.516 MB / 449.2 MB, free: 10.79 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)