Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.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.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 183.2 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06003/0.06003, allocations: 10.76 MB / 27.49 MB, free: 1.863 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.255/1.255, allocations: 205.1 MB / 235.7 MB, free: 11.73 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.0009016/0.0009017, allocations: 105 kB / 285.5 MB, free: 12.85 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 55.92 kB / 345.3 MB, free: 0.9805 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.231, allocations: 49.01 MB / 394.3 MB, free: 35.59 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002911/0.234, allocations: 2.162 MB / 396.5 MB, free: 33.41 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006221/0.2346, allocations: 390.9 kB / 396.8 MB, free: 33.03 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2347, allocations: 7.938 kB / 396.8 MB, free: 33.02 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.235, allocations: 39.66 kB / 396.9 MB, free: 32.98 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.235, allocations: 27.8 kB / 396.9 MB, free: 32.96 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2354, allocations: 167.8 kB / 397.1 MB, free: 32.79 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.2358, allocations: 451.2 kB / 397.5 MB, free: 32.35 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.236, allocations: 88.64 kB / 397.6 MB, free: 32.26 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2361, allocations: 135.5 kB / 397.7 MB, free: 32.13 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2362, allocations: 163.1 kB / 397.9 MB, free: 31.97 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.2363, allocations: 16 kB / 397.9 MB, free: 31.95 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.2363, allocations: 16 kB / 397.9 MB, free: 31.94 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.2364, allocations: 115.6 kB / 398 MB, free: 31.82 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.2365, allocations: 150.9 kB / 398.2 MB, free: 31.68 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2368, allocations: 328.9 kB / 398.5 MB, free: 31.36 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2368, allocations: 0 / 398.5 MB, free: 31.36 MB / 298.8 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2368, allocations: 0 / 398.5 MB, free: 31.36 MB / 298.8 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2368, allocations: 4 kB / 398.5 MB, free: 31.35 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008963/0.2377, allocations: 0.7053 MB / 399.2 MB, free: 30.59 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2377, allocations: 8.031 kB / 399.2 MB, free: 30.59 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.2378, allocations: 48.38 kB / 399.3 MB, free: 30.54 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2382, allocations: 363.6 kB / 399.6 MB, free: 30.14 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2382, allocations: 25.03 kB / 399.6 MB, free: 30.12 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.2383, allocations: 32.38 kB / 399.7 MB, free: 30.09 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2387, allocations: 408 kB / 400.1 MB, free: 29.67 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.2387, allocations: 4.094 kB / 400.1 MB, free: 29.66 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2388, allocations: 27.86 kB / 400.1 MB, free: 29.64 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2388, allocations: 8 kB / 400.1 MB, free: 29.63 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.2392, allocations: 286.4 kB / 400.4 MB, free: 29.35 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.2408, allocations: 1.497 MB / 401.9 MB, free: 27.78 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.2411, allocations: 182.8 kB / 402.1 MB, free: 27.59 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2413, allocations: 112.7 kB / 402.2 MB, free: 27.48 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.2414, allocations: 4 kB / 402.2 MB, free: 27.47 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2414, allocations: 34.56 kB / 402.2 MB, free: 27.43 MB / 298.8 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.2414, allocations: 0 / 402.2 MB, free: 27.43 MB / 298.8 MB Notification: Performance of matching and sorting (n=21): time 0.0005463/0.2419, allocations: 322 kB / 402.5 MB, free: 27.11 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.242, allocations: 59.34 kB / 402.6 MB, free: 27.04 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.2423, allocations: 389.5 kB / 403 MB, free: 26.65 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2423, allocations: 29.7 kB / 403 MB, free: 26.61 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2424, allocations: 239.9 kB / 403.2 MB, free: 26.37 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.2425, allocations: 82.81 kB / 403.3 MB, free: 26.29 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.2425, allocations: 69.69 kB / 403.4 MB, free: 26.21 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.2426, allocations: 358.7 kB / 403.7 MB, free: 25.86 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2428, allocations: 98.69 kB / 403.8 MB, free: 25.76 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.243, allocations: 210 kB / 404 MB, free: 25.5 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.2442, allocations: 0.5732 MB / 404.6 MB, free: 24.88 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2442, allocations: 4 kB / 404.6 MB, free: 24.88 MB / 298.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004984/0.2447, allocations: 416.8 kB / 405 MB, free: 24.46 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2447, allocations: 7.938 kB / 405 MB, free: 24.46 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2447, allocations: 4.469 kB / 405 MB, free: 24.45 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2447, allocations: 8 kB / 405 MB, free: 24.45 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.245, allocations: 99.81 kB / 405.1 MB, free: 24.35 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.245, allocations: 8 kB / 405.1 MB, free: 24.34 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2452, allocations: 47.52 kB / 405.2 MB, free: 24.29 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.2452, allocations: 16 kB / 405.2 MB, free: 24.28 MB / 298.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002007/0.2454, allocations: 200.2 kB / 405.4 MB, free: 24.07 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2455, allocations: 39.47 kB / 405.4 MB, free: 24.04 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.2459, allocations: 282.9 kB / 405.7 MB, free: 23.75 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.246, allocations: 4 kB / 405.7 MB, free: 23.75 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.246, allocations: 0 / 405.7 MB, free: 23.75 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.246, allocations: 4 kB / 405.7 MB, free: 23.74 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.2463, allocations: 377.3 kB / 406.1 MB, free: 23.32 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2463, allocations: 0 / 406.1 MB, free: 23.32 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2466, allocations: 67.89 kB / 406.2 MB, free: 23.26 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2466, allocations: 3.938 kB / 406.2 MB, free: 23.25 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.2466, allocations: 11.98 kB / 406.2 MB, free: 23.24 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2466, allocations: 0 / 406.2 MB, free: 23.24 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2466, allocations: 0 / 406.2 MB, free: 23.24 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.2499, allocations: 2.787 MB / 409 MB, free: 20.32 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.25, allocations: 112.7 kB / 409.1 MB, free: 20.19 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.25, allocations: 8 kB / 409.1 MB, free: 20.18 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2502, allocations: 11.98 kB / 409.1 MB, free: 20.17 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.2502, allocations: 27.89 kB / 409.1 MB, free: 20.14 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2502, allocations: 4 kB / 409.1 MB, free: 20.14 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.0001862/0.2504, allocations: 275.1 kB / 409.4 MB, free: 19.87 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2504, allocations: 4 kB / 409.4 MB, free: 19.87 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003842/0.2508, allocations: 87.75 kB / 409.5 MB, free: 19.78 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 9.212e-05/0.2509, allocations: 109 kB / 409.6 MB, free: 19.67 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.2513, allocations: 268.7 kB / 409.9 MB, free: 19.41 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2513, allocations: 8 kB / 409.9 MB, free: 19.4 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.2515, allocations: 111.9 kB / 410 MB, free: 19.29 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2518, allocations: 33.55 kB / 410 MB, free: 19.26 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2529, allocations: 1.081 MB / 411.1 MB, free: 18.13 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2532, allocations: 0.8346 MB / 411.9 MB, free: 17.27 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.2534, allocations: 79.03 kB / 412 MB, free: 17.19 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.2535, allocations: 31.44 kB / 412 MB, free: 17.16 MB / 298.8 MB Notification: Performance of SimCode: time 2.1e-07/0.2535, allocations: 0 / 412 MB, free: 17.16 MB / 298.8 MB Notification: Performance of Templates: time 0.005211/0.2587, allocations: 2.774 MB / 414.8 MB, free: 14.39 MB / 298.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)