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.001234/0.001234, allocations: 102.8 kB / 16.37 MB, free: 6.473 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.001235/0.001235, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05674/0.05674, 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.001559/0.001559, allocations: 67.91 kB / 342 MB, free: 4.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 49 MB / 391 MB, free: 49.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002721/0.2292, allocations: 1.64 MB / 392.6 MB, free: 48.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000558/0.2298, allocations: 310.1 kB / 392.9 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.2298, allocations: 0 / 392.9 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.2299, allocations: 14.42 kB / 392.9 MB, free: 48.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.23, allocations: 28.55 kB / 393 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.2303, allocations: 90.62 kB / 393.1 MB, free: 48.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2305, allocations: 125.9 kB / 393.2 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2307, allocations: 26.47 kB / 393.2 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.2307, allocations: 59.25 kB / 393.3 MB, free: 48.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.2308, allocations: 63.38 kB / 393.3 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.2308, allocations: 11.88 kB / 393.3 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.2309, allocations: 40.69 kB / 393.4 MB, free: 48.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.231, allocations: 39.88 kB / 393.4 MB, free: 48.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.231, allocations: 56.09 kB / 393.5 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.2312, allocations: 144.1 kB / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2312, allocations: 3.938 kB / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2312, allocations: 0 / 393.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2313, 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.0005481/0.2318, allocations: 458.9 kB / 394.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2319, allocations: 12.83 kB / 394.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.2319, allocations: 17.81 kB / 394.1 MB, free: 47.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2321, allocations: 227.7 kB / 394.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2321, allocations: 11.92 kB / 394.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.2321, allocations: 10.8 kB / 394.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.2324, allocations: 135.9 kB / 394.5 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2324, allocations: 1.812 kB / 394.5 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2324, allocations: 8.453 kB / 394.5 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2324, allocations: 3.031 kB / 394.5 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2326, allocations: 52.8 kB / 394.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.2331, allocations: 408 kB / 394.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2333, allocations: 114.4 kB / 395.1 MB, free: 47.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.2334, allocations: 57.81 kB / 395.1 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.2335, allocations: 1.375 kB / 395.1 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.2337, allocations: 114.7 kB / 395.2 MB, free: 46.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.2337, allocations: 0 / 395.2 MB, free: 46.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003957/0.2341, allocations: 202.7 kB / 395.4 MB, free: 46.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2342, allocations: 162.2 kB / 395.6 MB, free: 46.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2343, allocations: 190.4 kB / 395.8 MB, free: 46.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2343, allocations: 29.11 kB / 395.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.2344, allocations: 123.3 kB / 395.9 MB, free: 46.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2344, allocations: 44.09 kB / 396 MB, free: 46.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.2345, allocations: 39.31 kB / 396 MB, free: 46.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.2345, allocations: 332 kB / 396.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.2346, allocations: 34.44 kB / 396.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.2347, allocations: 114.7 kB / 396.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2349, allocations: 134.9 kB / 396.6 MB, free: 45.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2349, allocations: 1.469 kB / 396.6 MB, free: 45.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002449/0.2352, allocations: 165.5 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2352, allocations: 7.5 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2352, allocations: 1.812 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2352, allocations: 2.656 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2354, allocations: 44.34 kB / 396.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2354, allocations: 3.328 kB / 396.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2355, allocations: 22.47 kB / 396.8 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2355, allocations: 6.75 kB / 396.8 MB, free: 45.72 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 7.345e-05/0.2356, allocations: 127.5 kB / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2357, allocations: 16.7 kB / 397 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.2357, allocations: 18.7 kB / 397 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2357, allocations: 10.34 kB / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2357, allocations: 0.5625 kB / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2357, allocations: 0.6094 kB / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.2362, allocations: 462.4 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2362, allocations: 0 / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2363, allocations: 18.3 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.2363, allocations: 5.156 kB / 397.5 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2363, allocations: 7.188 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2363, allocations: 2.219 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2363, allocations: 4 kB / 397.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.2367, allocations: 318.2 kB / 397.8 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.2368, allocations: 98.66 kB / 397.9 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2368, allocations: 7.219 kB / 397.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.237, allocations: 16.89 kB / 397.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.237, allocations: 11.39 kB / 397.9 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.237, allocations: 10.66 kB / 398 MB, free: 44.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.973e-05/0.2371, allocations: 143.7 kB / 398.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2371, allocations: 0 / 398.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000277/0.2374, allocations: 34.14 kB / 398.1 MB, free: 44.77 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.0001228/0.2376, allocations: 111 kB / 398.2 MB, free: 44.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.2378, allocations: 115.6 kB / 398.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2378, allocations: 4.062 kB / 398.4 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.238, allocations: 55.48 kB / 398.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2383, allocations: 41.38 kB / 398.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.239, allocations: 314.7 kB / 398.8 MB, free: 44.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2392, allocations: 0.7165 MB / 399.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.2393, allocations: 17.38 kB / 399.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.2393, allocations: 17.34 kB / 399.5 MB, free: 43.69 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2393, allocations: 0 / 399.5 MB, free: 43.69 MB / 318.1 MB Notification: Performance of Templates: time 0.004704/0.244, allocations: 1.872 MB / 401.4 MB, free: 43.12 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 gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)