Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 182.2 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.05682/0.05682, allocations: 10.75 MB / 27.48 MB, free: 1.867 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.327/1.327, allocations: 205.1 MB / 235.7 MB, free: 11.74 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.001084/0.001084, allocations: 94.34 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 56.14 kB / 345.3 MB, free: 0.9688 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2174, allocations: 49 MB / 394.3 MB, free: 35.58 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002507/0.22, allocations: 1.779 MB / 396.1 MB, free: 33.79 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.2207, allocations: 0.5905 MB / 396.7 MB, free: 33.19 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.2208, allocations: 3.938 kB / 396.7 MB, free: 33.18 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.221, allocations: 11.92 kB / 396.7 MB, free: 33.17 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.221, allocations: 27.72 kB / 396.7 MB, free: 33.14 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2212, allocations: 63.88 kB / 396.8 MB, free: 33.08 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2214, allocations: 159.5 kB / 396.9 MB, free: 32.93 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2215, allocations: 33.55 kB / 397 MB, free: 32.89 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2216, allocations: 71.69 kB / 397 MB, free: 32.82 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.2217, allocations: 71.69 kB / 397.1 MB, free: 32.75 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2217, allocations: 8 kB / 397.1 MB, free: 32.74 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.2217, allocations: 7.938 kB / 397.1 MB, free: 32.73 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.2218, allocations: 27.91 kB / 397.2 MB, free: 32.71 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.2218, allocations: 63.59 kB / 397.2 MB, free: 32.64 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.222, allocations: 125.6 kB / 397.3 MB, free: 32.52 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.222, allocations: 0 / 397.3 MB, free: 32.52 MB / 298.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.222, allocations: 0 / 397.3 MB, free: 32.52 MB / 298.8 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.222, allocations: 0 / 397.3 MB, free: 32.52 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007864/0.2228, allocations: 0.5043 MB / 397.8 MB, free: 31.96 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2228, allocations: 12.03 kB / 397.9 MB, free: 31.95 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.2229, allocations: 16.75 kB / 397.9 MB, free: 31.94 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2231, allocations: 239.8 kB / 398.1 MB, free: 31.66 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2231, allocations: 63.95 kB / 398.2 MB, free: 31.59 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2232, allocations: 12.38 kB / 398.2 MB, free: 31.58 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.2235, allocations: 134.5 kB / 398.3 MB, free: 31.44 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2235, allocations: 0 / 398.3 MB, free: 31.44 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2236, allocations: 11.88 kB / 398.3 MB, free: 31.43 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.2236, allocations: 4 kB / 398.3 MB, free: 31.43 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.224, allocations: 123.8 kB / 398.4 MB, free: 31.3 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.2247, allocations: 428.4 kB / 398.9 MB, free: 30.84 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.2251, allocations: 130.4 kB / 399 MB, free: 30.7 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.2253, allocations: 60.95 kB / 399 MB, free: 30.64 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2253, allocations: 7.984 kB / 399.1 MB, free: 30.63 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.2256, allocations: 123.3 kB / 399.2 MB, free: 30.5 MB / 298.8 MB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.2256, allocations: 0 / 399.2 MB, free: 30.5 MB / 298.8 MB Notification: Performance of matching and sorting (n=10): time 0.0007199/0.2264, allocations: 241.2 kB / 399.4 MB, free: 30.25 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2264, allocations: 63.33 kB / 399.5 MB, free: 30.18 MB / 298.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2265, allocations: 186.8 kB / 399.7 MB, free: 29.99 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2266, allocations: 29.7 kB / 399.7 MB, free: 29.95 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.2266, allocations: 124.2 kB / 399.8 MB, free: 29.83 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2266, allocations: 27.64 kB / 399.8 MB, free: 29.8 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.2267, allocations: 33.72 kB / 399.9 MB, free: 29.76 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.2267, allocations: 330.8 kB / 400.2 MB, free: 29.43 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.227, allocations: 63.94 kB / 400.3 MB, free: 29.37 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2272, allocations: 83.38 kB / 400.3 MB, free: 29.27 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.2276, allocations: 173 kB / 400.5 MB, free: 29.09 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2276, allocations: 0 / 400.5 MB, free: 29.09 MB / 298.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005238/0.2282, allocations: 242.9 kB / 400.7 MB, free: 28.84 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2282, allocations: 29.7 kB / 400.8 MB, free: 28.8 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2282, allocations: 3.938 kB / 400.8 MB, free: 28.8 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2282, allocations: 4 kB / 400.8 MB, free: 28.79 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2284, allocations: 32 kB / 400.8 MB, free: 28.76 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2284, allocations: 7.984 kB / 400.8 MB, free: 28.75 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.2286, allocations: 32.34 kB / 400.8 MB, free: 28.72 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2286, allocations: 4 kB / 400.9 MB, free: 28.72 MB / 298.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.707e-05/0.2287, allocations: 122.5 kB / 401 MB, free: 28.59 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.2287, allocations: 15.75 kB / 401 MB, free: 28.57 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.2287, allocations: 33.27 kB / 401 MB, free: 28.55 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2288, allocations: 0 / 401 MB, free: 28.55 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2288, allocations: 4 kB / 401 MB, free: 28.54 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2288, allocations: 0 / 401 MB, free: 28.54 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2289, allocations: 229.5 kB / 401.2 MB, free: 28.27 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2289, allocations: 0 / 401.2 MB, free: 28.27 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.229, allocations: 19.97 kB / 401.3 MB, free: 28.25 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2291, allocations: 0 / 401.3 MB, free: 28.25 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2291, allocations: 7.938 kB / 401.3 MB, free: 28.24 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2291, allocations: 0 / 401.3 MB, free: 28.24 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2291, allocations: 4 kB / 401.3 MB, free: 28.24 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.2299, allocations: 0.8421 MB / 402.1 MB, free: 27.34 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.2299, allocations: 85.02 kB / 402.2 MB, free: 27.23 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.23, allocations: 11.98 kB / 402.2 MB, free: 27.22 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2301, allocations: 19.97 kB / 402.2 MB, free: 27.2 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.2302, allocations: 23.91 kB / 402.3 MB, free: 27.18 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2302, allocations: 0 / 402.3 MB, free: 27.18 MB / 298.8 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.2303, allocations: 132.1 kB / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2303, allocations: 4 kB / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0002937/0.2306, allocations: 31.89 kB / 402.4 MB, free: 27.02 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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 7.285e-05/0.2307, allocations: 99.25 kB / 402.5 MB, free: 26.91 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2312, allocations: 199.2 kB / 402.7 MB, free: 26.7 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2312, allocations: 4.188 kB / 402.7 MB, free: 26.7 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2314, allocations: 75.88 kB / 402.8 MB, free: 26.62 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2317, allocations: 24.14 kB / 402.8 MB, free: 26.6 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.2322, allocations: 444 kB / 403.2 MB, free: 26.12 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2323, allocations: 0.7162 MB / 404 MB, free: 25.38 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.2324, allocations: 21.06 kB / 404 MB, free: 25.36 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.2325, allocations: 19.42 kB / 404 MB, free: 25.34 MB / 298.8 MB Notification: Performance of SimCode: time 2.2e-07/0.2325, allocations: 0 / 404 MB, free: 25.34 MB / 298.8 MB Notification: Performance of Templates: time 0.003276/0.2358, allocations: 1.609 MB / 405.6 MB, free: 23.75 MB / 298.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)