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.001583/0.001583, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001882/0.001882, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05678/0.05678, allocations: 10.73 MB / 281.3 MB, free: 1.285 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.001365/0.001365, allocations: 69.77 kB / 391.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07915, allocations: 49.02 MB / 440.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002398/0.08161, allocations: 1.634 MB / 442.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.08224, allocations: 314.8 kB / 442.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.08233, allocations: 0 / 442.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.08237, allocations: 11.86 kB / 442.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.08251, allocations: 23.8 kB / 442.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.08287, allocations: 98.72 kB / 442.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.08302, allocations: 127.7 kB / 442.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.08314, allocations: 21.48 kB / 442.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.0832, allocations: 51.78 kB / 442.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.08328, allocations: 67.62 kB / 442.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.08331, allocations: 15.98 kB / 442.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.08339, allocations: 39.97 kB / 442.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.08342, allocations: 27.86 kB / 442.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.08347, allocations: 67.58 kB / 443 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.08363, allocations: 143.5 kB / 443.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08364, allocations: 0 / 443.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08365, allocations: 0 / 443.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.08366, allocations: 3.984 kB / 443.1 MB, free: 1.176 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.0005109/0.08417, allocations: 454.8 kB / 443.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.08421, allocations: 11.89 kB / 443.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.08427, allocations: 16.75 kB / 443.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.08443, allocations: 227.9 kB / 443.8 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.08445, allocations: 8.375 kB / 443.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.08448, allocations: 4.375 kB / 443.8 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.08468, allocations: 142.4 kB / 444 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.0847, allocations: 4.188 kB / 444 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.08472, allocations: 7.922 kB / 444 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.08473, allocations: 0 / 444 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.08486, allocations: 55.97 kB / 444.1 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.08551, allocations: 416.4 kB / 444.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.08576, allocations: 114.6 kB / 444.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.08589, allocations: 64.77 kB / 444.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.08591, allocations: 4 kB / 444.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.08616, allocations: 111.3 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.08617, allocations: 0 / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000414/0.08659, allocations: 193.5 kB / 444.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.08669, allocations: 166.2 kB / 445.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.08686, allocations: 182.3 kB / 445.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.0869, allocations: 33.7 kB / 445.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.08698, allocations: 128 kB / 445.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.08702, allocations: 43.44 kB / 445.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.0871, allocations: 41.72 kB / 445.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.08721, allocations: 334.8 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.0873, allocations: 31.98 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.08745, allocations: 109.4 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.08766, allocations: 138.8 kB / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.08767, allocations: 0 / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002704/0.08795, allocations: 166.1 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.08798, allocations: 10.34 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.08799, allocations: 3.938 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.08801, allocations: 7.938 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.08817, allocations: 39.86 kB / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.08818, allocations: 192 / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.08834, allocations: 19.89 kB / 446.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.08836, allocations: 12 kB / 446.4 MB, free: 13.62 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 0.0001112/0.08848, allocations: 129.7 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.08851, allocations: 15.81 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.08857, allocations: 21.52 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.08858, allocations: 3.938 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.08859, allocations: 0 / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0886, allocations: 8 kB / 446.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.0891, allocations: 450.5 kB / 447 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.08911, allocations: 0 / 447 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.08923, allocations: 23.92 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.08925, allocations: 3.938 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.08927, allocations: 8 kB / 447 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.08927, allocations: 0 / 447 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08928, allocations: 0 / 447 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.08976, allocations: 319 kB / 447.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.08982, allocations: 100.8 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.08986, allocations: 8 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.09004, allocations: 7.984 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.0901, allocations: 15.98 kB / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.09012, allocations: 7.938 kB / 447.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.09023, allocations: 144.3 kB / 447.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09023, allocations: 0 / 447.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.09052, allocations: 36 kB / 447.6 MB, free: 12.24 MB / 334.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.0001457/0.09067, allocations: 111.2 kB / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.09093, allocations: 114.3 kB / 447.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09095, allocations: 4.312 kB / 447.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.09107, allocations: 59.98 kB / 447.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.09141, allocations: 36.3 kB / 448 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.09213, allocations: 337.2 kB / 448.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.09241, allocations: 0.728 MB / 449 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.09246, allocations: 19.44 kB / 449 MB, free: 10.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09247, allocations: 0 / 449 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Templates: time 0.003687/0.09616, allocations: 2.012 MB / 451.1 MB, free: 8.773 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)