Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002621, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002354/0.003558, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9801/0.9801, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.0417/0.0417, allocations: 9.787 MB / 253.8 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01019/0.05189, allocations: 3.472 MB / 257.2 MB, free: 2.113 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_proportional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_proportional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.585e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_proportional): time 0.00353/0.003556, allocations: 1.997 MB / 260.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004585, allocations: 0.4923 MB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.004749, allocations: 27.69 kB / 261 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004866, allocations: 55.36 kB / 261.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.004941, allocations: 19.69 kB / 261.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.005348, allocations: 227.5 kB / 261.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.005613, allocations: 297.1 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.005733, allocations: 46.86 kB / 261.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.005872, allocations: 159.6 kB / 261.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.005966, allocations: 75.66 kB / 261.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.005992, allocations: 16 kB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.006088, allocations: 47.95 kB / 262 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.006129, allocations: 35.81 kB / 262 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.006178, allocations: 51.81 kB / 262 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.00668, allocations: 175.2 kB / 262.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.006694, allocations: 0 / 262.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006696, allocations: 0 / 262.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.006707, allocations: 0 / 262.2 MB, free: 13.1 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006907/0.007398, allocations: 0.5278 MB / 262.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.007432, allocations: 8.031 kB / 262.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.007495, allocations: 40.91 kB / 262.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.007812, allocations: 300.4 kB / 263.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.007834, allocations: 20.88 kB / 263.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.007862, allocations: 32.36 kB / 263.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.008071, allocations: 259.5 kB / 263.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.00808, allocations: 4.188 kB / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.008092, allocations: 4.375 kB / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.0081, allocations: 8.375 kB / 263.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.008168, allocations: 79.72 kB / 263.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.008891, allocations: 1.288 MB / 264.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.059e-05/0.008982, allocations: 58.48 kB / 264.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.009007, allocations: 24.86 kB / 264.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.009017, allocations: 8 kB / 264.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.009125, allocations: 108.7 kB / 265 MB, free: 10.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.009127, allocations: 0 / 265 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001569/0.009284, allocations: 117.5 kB / 265.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.009323, allocations: 77.11 kB / 265.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.009477, allocations: 294.7 kB / 265.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.009498, allocations: 29.7 kB / 265.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.0096, allocations: 188.5 kB / 265.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.009638, allocations: 51.62 kB / 265.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.009719, allocations: 81.59 kB / 265.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.009819, allocations: 342.8 kB / 266.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.009857, allocations: 31.77 kB / 266.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.009986, allocations: 198.2 kB / 266.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.01021, allocations: 273.8 kB / 266.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01021, allocations: 0 / 266.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002729/0.01048, allocations: 237 kB / 266.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0105, allocations: 8 kB / 266.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.01051, allocations: 4 kB / 266.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01052, allocations: 11.94 kB / 266.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01075, allocations: 76.48 kB / 266.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01076, allocations: 12 kB / 266.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.01088, allocations: 47.67 kB / 267 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.01089, allocations: 12 kB / 267 MB, free: 7.887 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: PDd.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real PDd.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.PDd.CS,PDd.CS,$PRE.PDd.satin,PDd.satin,$whenCondition1,PDc.ATreq_in,PDc.satHIGH_in,PDc.satLOW_in,PDd.ATreq_in,PDd.satHIGH_in,PDd.satLOW_in,PDc_start.ATreq_in,PDc_start.satHIGH_in,PDc_start.satLOW_in,PDd.Fin,$PRE.PDd.Fin,PDc.TS_in,PDd.TS_in,PDc_start.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000131/0.01102, allocations: 147 kB / 267.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.01105, allocations: 15.98 kB / 267.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.01109, allocations: 30.67 kB / 267.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01109, allocations: 3.938 kB / 267.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.0111, allocations: 4 kB / 267.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0111, allocations: 4 kB / 267.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.01155, allocations: 424.6 kB / 267.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01156, allocations: 4 kB / 267.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.01168, allocations: 35.91 kB / 267.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.0117, allocations: 27.88 kB / 267.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.0117, allocations: 4 kB / 267.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01172, allocations: 8 kB / 267.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.01172, allocations: 8 kB / 267.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.01173, allocations: 7.984 kB / 267.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01194, allocations: 297.5 kB / 268 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.01197, allocations: 11.98 kB / 268 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01207, allocations: 0 / 268 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.0121, allocations: 19.92 kB / 268 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01211, allocations: 0 / 268 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.01219, allocations: 108.6 kB / 268.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01219, allocations: 0 / 268.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.01251, allocations: 51.89 kB / 268.2 MB, free: 6.629 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (PDc.Fin,PDc_start.Fin) * Number of discrete variables: 4 ($whenCondition1,PDd.CS,PDd.Fin,PDd.satin) * Number of discrete states: 3 (PDd.SP,PDd.PV,PDd.Fin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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 0.0001264/0.01264, allocations: 92.34 kB / 268.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01281, allocations: 133.9 kB / 268.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.01282, allocations: 8.062 kB / 268.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.01288, allocations: 48.7 kB / 268.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.0132, allocations: 53.72 kB / 268.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.01431, allocations: 490.6 kB / 269 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.112e-05/0.01438, allocations: 80.89 kB / 269.1 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.01446, allocations: 38.95 kB / 269.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.01455, allocations: 83.38 kB / 269.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01455, allocations: 0 / 269.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of Templates: time 0.00546/0.02001, allocations: 1.994 MB / 271.2 MB, free: 3.582 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPD_proportional.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.626865027472377]