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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05944/0.05944, allocations: 10.66 MB / 18.73 MB, free: 1.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.3 MB / 226.9 MB, free: 7.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007921, allocations: 93.27 kB / 277.3 MB, free: 5.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 333.5 MB, free: 28.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 50.01 MB / 383.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.462, allocations: 78.21 MB / 461.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.4624, allocations: 76.61 kB / 461.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.476, allocations: 5.149 MB / 467 MB, free: 2.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4761, allocations: 3.938 kB / 467 MB, free: 2.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.4761, allocations: 8 kB / 467 MB, free: 2.152 MB / 330.7 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.0006813/0.4768, allocations: 0.4951 MB / 467.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4768, allocations: 12.03 kB / 467.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.907e-05/0.4769, allocations: 27.67 kB / 467.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.4773, allocations: 265.7 kB / 467.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4774, allocations: 8 kB / 467.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.4774, allocations: 19.92 kB / 467.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001689/0.4776, allocations: 46.69 kB / 467.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4779, allocations: 149.9 kB / 468 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4779, allocations: 0 / 468 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.4779, allocations: 3.938 kB / 468 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.478, allocations: 7.953 kB / 468 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.479, allocations: 498.2 kB / 468.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4793, allocations: 129.2 kB / 468.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.4794, allocations: 56.45 kB / 468.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4794, allocations: 4 kB / 468.7 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.4797, allocations: 128 kB / 468.8 MB, free: 388 kB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.4797, allocations: 0 / 468.8 MB, free: 388 kB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006892/0.4804, allocations: 251.3 kB / 469 MB, free: 172 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4805, allocations: 162.2 kB / 469.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4808, allocations: 224.6 kB / 469.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4808, allocations: 25.7 kB / 469.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.481, allocations: 147.2 kB / 469.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.481, allocations: 62.98 kB / 469.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.481, allocations: 0 / 469.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4812, allocations: 342.2 kB / 470 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.4813, allocations: 40.59 kB / 470 MB, free: 15.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.4815, allocations: 180.6 kB / 470.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4816, allocations: 66.8 kB / 470.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4816, allocations: 4 kB / 470.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003692/0.482, allocations: 221.8 kB / 470.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.482, allocations: 8 kB / 470.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4821, allocations: 4 kB / 470.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4821, allocations: 8 kB / 470.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4824, allocations: 56.25 kB / 470.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4824, allocations: 12 kB / 470.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.4826, allocations: 23.77 kB / 470.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4826, allocations: 15.69 kB / 470.6 MB, free: 14.66 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = false 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 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.4828, allocations: 120.8 kB / 470.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.4828, allocations: 23.72 kB / 470.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.4829, allocations: 25.58 kB / 470.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4829, allocations: 8 kB / 470.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4829, allocations: 0 / 470.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4829, allocations: 3.984 kB / 470.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.4838, allocations: 0.5638 MB / 471.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4838, allocations: 3.938 kB / 471.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.484, allocations: 31.98 kB / 471.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4841, allocations: 3.938 kB / 471.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.4841, allocations: 15.98 kB / 471.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4841, allocations: 0 / 471.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4841, allocations: 0 / 471.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.4848, allocations: 410.6 kB / 471.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.4849, allocations: 108.6 kB / 471.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.4849, allocations: 0 / 471.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.4851, allocations: 11.98 kB / 471.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.4852, allocations: 19.61 kB / 471.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4852, allocations: 11.98 kB / 471.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4853, allocations: 171.5 kB / 472.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4853, allocations: 0 / 472.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.4858, allocations: 87.86 kB / 472.2 MB, free: 13.17 MB / 346.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.486, allocations: 166.6 kB / 472.4 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.4863, allocations: 148.6 kB / 472.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4863, allocations: 0 / 472.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4864, allocations: 65.86 kB / 472.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.4867, allocations: 36.22 kB / 472.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4879, allocations: 409 kB / 473 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4883, allocations: 0.7522 MB / 473.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.4884, allocations: 38.03 kB / 473.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.4885, allocations: 19.44 kB / 473.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4885, allocations: 4 kB / 473.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Templates: time 0.005839/0.4943, allocations: 2.601 MB / 476.4 MB, free: 9.004 MB / 346.7 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)