Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05516/0.05516, allocations: 10.75 MB / 27.48 MB, free: 1.875 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 235.7 MB, free: 11.72 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009042/0.0009043, allocations: 109.3 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.92 kB / 345.3 MB, free: 0.9805 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2262, allocations: 49.01 MB / 394.3 MB, free: 35.57 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002335/0.2285, allocations: 1.893 MB / 396.2 MB, free: 33.67 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.2293, allocations: 0.6357 MB / 396.8 MB, free: 33.03 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.2294, allocations: 0 / 396.8 MB, free: 33.03 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.2294, allocations: 19.8 kB / 396.8 MB, free: 33.01 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2296, allocations: 19.81 kB / 396.9 MB, free: 32.99 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.2299, allocations: 143.7 kB / 397 MB, free: 32.85 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2301, allocations: 195.4 kB / 397.2 MB, free: 32.66 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2302, allocations: 46.5 kB / 397.2 MB, free: 32.62 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.2303, allocations: 79.5 kB / 397.3 MB, free: 32.54 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.2304, allocations: 99.41 kB / 397.4 MB, free: 32.45 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.2304, allocations: 12 kB / 397.4 MB, free: 32.43 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.2306, allocations: 147.9 kB / 397.6 MB, free: 32.29 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.2307, allocations: 43.81 kB / 397.6 MB, free: 32.25 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.2307, allocations: 95.34 kB / 397.7 MB, free: 32.15 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.231, allocations: 295.1 kB / 398 MB, free: 31.86 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.231, allocations: 0 / 398 MB, free: 31.86 MB / 298.8 MB Notification: Performance of FrontEnd: time 9.11e-07/0.231, allocations: 0 / 398 MB, free: 31.86 MB / 298.8 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.231, allocations: 0 / 398 MB, free: 31.86 MB / 298.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006547/0.2317, allocations: 0.5683 MB / 398.6 MB, free: 31.24 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2317, allocations: 12.03 kB / 398.6 MB, free: 31.23 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.2318, allocations: 28.66 kB / 398.6 MB, free: 31.2 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.232, allocations: 271.5 kB / 398.9 MB, free: 30.9 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.232, allocations: 12.38 kB / 398.9 MB, free: 30.89 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.232, allocations: 16.28 kB / 398.9 MB, free: 30.87 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2323, allocations: 172 kB / 399.1 MB, free: 30.68 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2323, allocations: 4.188 kB / 399.1 MB, free: 30.68 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2323, allocations: 11.94 kB / 399.1 MB, free: 30.67 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2323, allocations: 0 / 399.1 MB, free: 30.67 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.2325, allocations: 67.89 kB / 399.2 MB, free: 30.6 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.2332, allocations: 0.512 MB / 399.7 MB, free: 30.04 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2334, allocations: 142.6 kB / 399.8 MB, free: 29.89 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.2336, allocations: 56.83 kB / 399.9 MB, free: 29.83 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2336, allocations: 8 kB / 399.9 MB, free: 29.82 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2338, allocations: 156.8 kB / 400 MB, free: 29.66 MB / 298.8 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.2338, allocations: 0 / 400 MB, free: 29.66 MB / 298.8 MB Notification: Performance of matching and sorting (n=20): time 0.0004482/0.2343, allocations: 261.8 kB / 400.3 MB, free: 29.4 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.2343, allocations: 162.2 kB / 400.4 MB, free: 29.2 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2345, allocations: 266.6 kB / 400.7 MB, free: 28.93 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2345, allocations: 37.7 kB / 400.7 MB, free: 28.89 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.2346, allocations: 152.3 kB / 400.9 MB, free: 28.74 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.2347, allocations: 55.25 kB / 400.9 MB, free: 28.68 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.2347, allocations: 65.88 kB / 401 MB, free: 28.61 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.2348, allocations: 334.8 kB / 401.3 MB, free: 28.27 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.2349, allocations: 58.62 kB / 401.4 MB, free: 28.22 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.235, allocations: 189.6 kB / 401.6 MB, free: 27.97 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.2353, allocations: 245.5 kB / 401.8 MB, free: 27.68 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2353, allocations: 0 / 401.8 MB, free: 27.68 MB / 298.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003263/0.2356, allocations: 267.3 kB / 402.1 MB, free: 27.42 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2356, allocations: 15.97 kB / 402.1 MB, free: 27.4 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2357, allocations: 4 kB / 402.1 MB, free: 27.4 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2357, allocations: 4 kB / 402.1 MB, free: 27.39 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2359, allocations: 55.91 kB / 402.1 MB, free: 27.34 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2359, allocations: 7.938 kB / 402.2 MB, free: 27.33 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2361, allocations: 35.69 kB / 402.2 MB, free: 27.3 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2361, allocations: 8 kB / 402.2 MB, free: 27.29 MB / 298.8 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001192/0.2362, allocations: 161.4 kB / 402.4 MB, free: 27.12 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.2362, allocations: 23.72 kB / 402.4 MB, free: 27.1 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.2363, allocations: 30.17 kB / 402.4 MB, free: 27.07 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2363, allocations: 0 / 402.4 MB, free: 27.07 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2363, allocations: 7.938 kB / 402.4 MB, free: 27.06 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2363, allocations: 3.938 kB / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.2368, allocations: 0.553 MB / 403 MB, free: 26.45 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2368, allocations: 4 kB / 403 MB, free: 26.44 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.237, allocations: 31.97 kB / 403 MB, free: 26.41 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.237, allocations: 0 / 403 MB, free: 26.41 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.237, allocations: 11.94 kB / 403 MB, free: 26.4 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.237, allocations: 4 kB / 403 MB, free: 26.39 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.237, allocations: 0 / 403 MB, free: 26.39 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.2385, allocations: 1.625 MB / 404.6 MB, free: 24.62 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.2386, allocations: 104.7 kB / 404.7 MB, free: 24.5 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.2386, allocations: 8.062 kB / 404.8 MB, free: 24.5 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2388, allocations: 11.98 kB / 404.8 MB, free: 24.48 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2388, allocations: 11.98 kB / 404.8 MB, free: 24.47 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2389, allocations: 11.98 kB / 404.8 MB, free: 24.46 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.0001139/0.239, allocations: 186 kB / 405 MB, free: 24.29 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.239, allocations: 0 / 405 MB, free: 24.29 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003783/0.2394, allocations: 87.98 kB / 405.1 MB, free: 24.2 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001556/0.2395, allocations: 159.2 kB / 405.2 MB, free: 24.03 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.2398, allocations: 163.8 kB / 405.4 MB, free: 23.87 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2398, allocations: 0.9375 kB / 405.4 MB, free: 23.87 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2399, allocations: 80.19 kB / 405.5 MB, free: 23.79 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2403, allocations: 56.8 kB / 405.5 MB, free: 23.74 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.2412, allocations: 0.7416 MB / 406.3 MB, free: 22.96 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2414, allocations: 0.756 MB / 407 MB, free: 22.17 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.2415, allocations: 30.22 kB / 407 MB, free: 22.14 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.2415, allocations: 27.44 kB / 407.1 MB, free: 22.12 MB / 298.8 MB Notification: Performance of SimCode: time 2.5e-07/0.2416, allocations: 0 / 407.1 MB, free: 22.12 MB / 298.8 MB Notification: Performance of Templates: time 0.004875/0.2464, allocations: 3.123 MB / 410.2 MB, free: 19.01 MB / 298.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1)