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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00521/0.00521, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001197/0.001197, allocations: 197 kB / 16.68 MB, free: 5.953 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.232/1.232, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05419/0.05419, allocations: 10.75 MB / 280.6 MB, free: 10.4 MB / 238.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.001308/0.001308, allocations: 63.91 kB / 390.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2199, allocations: 49.02 MB / 439.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002443/0.2224, allocations: 1.836 MB / 441.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.2232, allocations: 0.6093 MB / 442.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.2233, allocations: 5.312 kB / 442.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.2233, allocations: 17.53 kB / 442.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2235, allocations: 35.66 kB / 442.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.2239, allocations: 184.6 kB / 442.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.2242, allocations: 203.2 kB / 442.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2243, allocations: 46.8 kB / 442.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.2244, allocations: 94.06 kB / 442.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2245, allocations: 102.4 kB / 443 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.2245, allocations: 18.31 kB / 443 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2247, allocations: 165.2 kB / 443.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2248, allocations: 54.67 kB / 443.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.2248, allocations: 95.02 kB / 443.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.2252, allocations: 305 kB / 443.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2252, allocations: 4.875 kB / 443.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2252, allocations: 1.375 kB / 443.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2252, allocations: 0 / 443.6 MB, free: 2.949 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006565/0.2259, allocations: 0.5657 MB / 444.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2259, allocations: 13.3 kB / 444.2 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.226, allocations: 26.22 kB / 444.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.2262, allocations: 269.7 kB / 444.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2262, allocations: 10.5 kB / 444.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.2262, allocations: 16.36 kB / 444.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2265, allocations: 176 kB / 444.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2265, allocations: 4.875 kB / 444.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2266, allocations: 5.812 kB / 444.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2266, allocations: 3.031 kB / 444.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2267, allocations: 70.23 kB / 444.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.2275, allocations: 0.5075 MB / 445.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.2278, allocations: 137.4 kB / 445.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2279, allocations: 59.61 kB / 445.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2279, allocations: 2.75 kB / 445.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.2282, allocations: 150.5 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.2282, allocations: 0 / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004896/0.2287, allocations: 259.9 kB / 445.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2287, allocations: 163.8 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.229, allocations: 262.6 kB / 446.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.229, allocations: 37.78 kB / 446.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.2291, allocations: 155.7 kB / 446.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.2291, allocations: 58.25 kB / 446.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.2292, allocations: 65.45 kB / 446.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.2292, allocations: 338.4 kB / 446.9 MB, free: 484 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2293, allocations: 52.62 kB / 447 MB, free: 468 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2295, allocations: 182.7 kB / 447.1 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2298, allocations: 249.8 kB / 447.4 MB, free: 68 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2298, allocations: 1.156 kB / 447.4 MB, free: 68 kB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004131/0.2302, allocations: 260.6 kB / 447.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2302, allocations: 6.281 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2302, allocations: 9.156 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2303, allocations: 4.906 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.2305, allocations: 63.33 kB / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.2305, allocations: 8.672 kB / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2307, allocations: 37.34 kB / 447.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2307, allocations: 10.44 kB / 447.8 MB, free: 15.91 MB / 334.1 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.0001473/0.2309, allocations: 150.7 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.2309, allocations: 24.27 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.231, allocations: 27.61 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.231, allocations: 3.219 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.231, allocations: 4 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.231, allocations: 5.109 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.2317, allocations: 0.5513 MB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2317, allocations: 0.9375 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.2319, allocations: 35.75 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2319, allocations: 1.25 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.2319, allocations: 13.45 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.232, allocations: 1.094 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.232, allocations: 9.016 kB / 448.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.2325, allocations: 381.6 kB / 449 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.2326, allocations: 101.2 kB / 449.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.2327, allocations: 16.91 kB / 449.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2328, allocations: 8.781 kB / 449.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2329, allocations: 18.16 kB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2329, allocations: 5.312 kB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.2331, allocations: 194.8 kB / 449.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2331, allocations: 0 / 449.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.2334, allocations: 80.67 kB / 449.4 MB, free: 14.81 MB / 334.1 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.0002145/0.2337, allocations: 162.4 kB / 449.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.234, allocations: 172.3 kB / 449.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.234, allocations: 0 / 449.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2342, allocations: 76.75 kB / 449.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2345, allocations: 62.59 kB / 449.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.2355, allocations: 0.5 MB / 450.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2358, allocations: 0.7468 MB / 451.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.491e-05/0.2359, allocations: 30.28 kB / 451.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.236, allocations: 24.41 kB / 451.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.236, allocations: 0 / 451.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Templates: time 0.005988/0.242, allocations: 3.082 MB / 454.2 MB, free: 11.94 MB / 334.1 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)