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.001442/0.001442, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001482/0.001483, allocations: 196 kB / 17.31 MB, free: 5.613 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.691/1.691, 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.05778/0.05778, allocations: 10.74 MB / 281.3 MB, free: 1.32 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.001553/0.001553, allocations: 68.33 kB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3437, allocations: 49 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003538/0.3473, allocations: 1.641 MB / 392.6 MB, free: 48.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.3481, allocations: 314.2 kB / 392.9 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.3482, allocations: 0 / 392.9 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.001e-05/0.3483, allocations: 14.5 kB / 393 MB, free: 48.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3484, allocations: 20.47 kB / 393 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.3489, allocations: 90.66 kB / 393.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3492, allocations: 128.7 kB / 393.2 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3494, allocations: 26.3 kB / 393.2 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.3495, allocations: 59.73 kB / 393.3 MB, free: 48.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3496, allocations: 63.3 kB / 393.3 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.3497, allocations: 12.34 kB / 393.3 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3498, allocations: 40.48 kB / 393.4 MB, free: 48.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.3499, allocations: 35.8 kB / 393.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.3499, allocations: 60.53 kB / 393.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3502, allocations: 146.6 kB / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3502, allocations: 0 / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3502, allocations: 1.094 kB / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3502, allocations: 0 / 393.6 MB, free: 48.27 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.0006688/0.3509, allocations: 454.2 kB / 394.1 MB, free: 47.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3509, allocations: 13.23 kB / 394.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.351, allocations: 25.41 kB / 394.1 MB, free: 47.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3512, allocations: 223.9 kB / 394.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3513, allocations: 8.656 kB / 394.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3513, allocations: 6.156 kB / 394.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3516, allocations: 145 kB / 394.5 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3516, allocations: 192 / 394.5 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3516, allocations: 9.938 kB / 394.5 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3516, allocations: 2 kB / 394.5 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3518, allocations: 53.47 kB / 394.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.3524, allocations: 403 kB / 394.9 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3527, allocations: 113.8 kB / 395 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3528, allocations: 63.55 kB / 395.1 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3528, allocations: 5.188 kB / 395.1 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.3531, allocations: 108 kB / 395.2 MB, free: 46.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3531, allocations: 0 / 395.2 MB, free: 46.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004353/0.3536, allocations: 201.5 kB / 395.4 MB, free: 46.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.3536, allocations: 163.7 kB / 395.6 MB, free: 46.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3538, allocations: 187.6 kB / 395.8 MB, free: 46.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3539, allocations: 31.08 kB / 395.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.354, allocations: 118.4 kB / 395.9 MB, free: 46.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.354, allocations: 44.8 kB / 396 MB, free: 46.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3541, allocations: 39.98 kB / 396 MB, free: 46.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.3542, allocations: 332.9 kB / 396.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.3543, allocations: 35.98 kB / 396.3 MB, free: 46.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3544, allocations: 112.3 kB / 396.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3546, allocations: 129.4 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3546, allocations: 0 / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003028/0.3549, allocations: 176.8 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.355, allocations: 7.016 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.355, allocations: 1.156 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.355, allocations: 7 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3552, allocations: 31.92 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3552, allocations: 5.656 kB / 396.8 MB, free: 45.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3553, allocations: 23.22 kB / 396.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3554, allocations: 9.625 kB / 396.8 MB, free: 45.73 MB / 318.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.201e-05/0.3555, allocations: 130.4 kB / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3555, allocations: 16.47 kB / 397 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3555, allocations: 19.83 kB / 397 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3556, allocations: 5.281 kB / 397 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3556, allocations: 4.688 kB / 397 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3556, allocations: 1.844 kB / 397 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.3561, allocations: 461.2 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3561, allocations: 0 / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3563, allocations: 22.67 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3563, allocations: 4.688 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3563, allocations: 7.031 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3563, allocations: 2.672 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3563, allocations: 3.938 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.3567, allocations: 312.7 kB / 397.8 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3568, allocations: 98.58 kB / 397.9 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3568, allocations: 8.172 kB / 397.9 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.357, allocations: 7.828 kB / 397.9 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.3571, allocations: 12.61 kB / 397.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3571, allocations: 4.844 kB / 397.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3572, allocations: 140 kB / 398.1 MB, free: 44.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3572, allocations: 1.219 kB / 398.1 MB, free: 44.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.3575, allocations: 33.17 kB / 398.1 MB, free: 44.79 MB / 318.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.0001653/0.3577, allocations: 122.7 kB / 398.2 MB, free: 44.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.358, allocations: 111.5 kB / 398.3 MB, free: 44.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.358, allocations: 0 / 398.3 MB, free: 44.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3581, allocations: 62.22 kB / 398.4 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3585, allocations: 38.28 kB / 398.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.3592, allocations: 314.9 kB / 398.7 MB, free: 44.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3594, allocations: 0.7125 MB / 399.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.029e-05/0.3595, allocations: 22.03 kB / 399.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.3596, allocations: 21.19 kB / 399.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3596, allocations: 0 / 399.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of Templates: time 0.005673/0.3652, allocations: 1.873 MB / 401.4 MB, free: 43.14 MB / 318.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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)