Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.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.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005264/0.005263, allocations: 111.7 kB / 15.74 MB, free: 6.449 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.001285/0.001284, allocations: 199.5 kB / 16.68 MB, free: 6.348 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.253/1.253, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05424/0.05424, allocations: 10.75 MB / 280.6 MB, free: 10.38 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.001391/0.001391, allocations: 71.83 kB / 390.8 MB, free: 5.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2278, allocations: 49.02 MB / 439.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002874/0.2307, allocations: 2.095 MB / 442 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.2316, allocations: 0.4895 MB / 442.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2317, allocations: 14.62 kB / 442.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.2319, allocations: 54.7 kB / 442.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.232, allocations: 33.03 kB / 442.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.2326, allocations: 240.2 kB / 442.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.2331, allocations: 0.4939 MB / 443.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2333, allocations: 87.39 kB / 443.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2334, allocations: 165.1 kB / 443.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2336, allocations: 188.3 kB / 443.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2337, allocations: 28 kB / 443.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.2338, allocations: 29.06 kB / 443.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2339, allocations: 122.6 kB / 443.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.234, allocations: 174.3 kB / 444 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2344, allocations: 361.6 kB / 444.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2344, allocations: 0 / 444.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2344, allocations: 0 / 444.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2344, allocations: 5.031 kB / 444.4 MB, free: 2.562 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.000983/0.2354, allocations: 0.715 MB / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2354, allocations: 14.5 kB / 445.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.2355, allocations: 51.16 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.2359, allocations: 374.5 kB / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.236, allocations: 76.41 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.2361, allocations: 44.34 kB / 445.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.2367, allocations: 414.8 kB / 446.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.2368, allocations: 18.03 kB / 446.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2368, allocations: 11.8 kB / 446.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2368, allocations: 8 kB / 446.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.2373, allocations: 304.7 kB / 446.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.2393, allocations: 1.563 MB / 448 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.2397, allocations: 182.8 kB / 448.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2399, allocations: 121.3 kB / 448.3 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2399, allocations: 2.438 kB / 448.3 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.24, allocations: 45.09 kB / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.24, allocations: 0 / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006346/0.2406, allocations: 337.7 kB / 448.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2406, allocations: 55.38 kB / 448.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.241, allocations: 392.5 kB / 449.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2411, allocations: 31.95 kB / 449.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2412, allocations: 239.1 kB / 449.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.2413, allocations: 89.36 kB / 449.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.2414, allocations: 66.78 kB / 449.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2415, allocations: 362.2 kB / 449.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.2417, allocations: 97.61 kB / 449.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.242, allocations: 216.2 kB / 450.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2434, allocations: 0.6216 MB / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2434, allocations: 1.375 kB / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006891/0.2441, allocations: 440.8 kB / 451.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2441, allocations: 6.969 kB / 451.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.2442, allocations: 3.219 kB / 451.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2442, allocations: 6.719 kB / 451.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.2446, allocations: 91.19 kB / 451.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.2446, allocations: 9.938 kB / 451.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2448, allocations: 55.17 kB / 451.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.2448, allocations: 20.5 kB / 451.4 MB, free: 13.8 MB / 334.1 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 (48): * Single equations (assignments): 48 * 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.0002692/0.2451, allocations: 196 kB / 451.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.2452, allocations: 35.72 kB / 451.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.2457, allocations: 298.6 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2458, allocations: 2.281 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2458, allocations: 1.094 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2458, allocations: 3.938 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.2462, allocations: 396.5 kB / 452.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2462, allocations: 0 / 452.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.2466, allocations: 65.98 kB / 452.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2466, allocations: 1.156 kB / 452.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.2467, allocations: 12.7 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2467, allocations: 1.281 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2467, allocations: 0 / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.2474, allocations: 0.4931 MB / 452.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.2475, allocations: 112.7 kB / 453 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2476, allocations: 15.39 kB / 453 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2477, allocations: 13.83 kB / 453 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2478, allocations: 15.23 kB / 453 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.2478, allocations: 13.77 kB / 453.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.2481, allocations: 270 kB / 453.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.2481, allocations: 0 / 453.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.2484, allocations: 70.38 kB / 453.4 MB, free: 12.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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 0.0001164/0.2485, allocations: 110.5 kB / 453.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.249, allocations: 293.2 kB / 453.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2491, allocations: 0 / 453.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2493, allocations: 128.2 kB / 453.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2496, allocations: 39.17 kB / 453.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2509, allocations: 0.8062 MB / 454.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2513, allocations: 0.826 MB / 455.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.2514, allocations: 73.19 kB / 455.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.2515, allocations: 35.38 kB / 455.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2515, allocations: 0 / 455.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Templates: time 0.005583/0.2571, allocations: 2.411 MB / 458.1 MB, free: 9.586 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)