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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05257/0.05257, allocations: 10.75 MB / 281.1 MB, free: 10.56 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.0005095/0.0005096, allocations: 12.22 kB / 341.6 MB, free: 23.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.07685, allocations: 50.02 MB / 391.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.001957/0.07885, allocations: 1.507 MB / 393.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.07978, allocations: 0.5609 MB / 393.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.07989, allocations: 3.938 kB / 393.7 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.07993, allocations: 11.86 kB / 393.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.08005, allocations: 23.91 kB / 393.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.0805, allocations: 131.7 kB / 393.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.08069, allocations: 127.7 kB / 394 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.08082, allocations: 36.39 kB / 394 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.0809, allocations: 71.62 kB / 394.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.08102, allocations: 87.52 kB / 394.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.08105, allocations: 12 kB / 394.2 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.08124, allocations: 127.9 kB / 394.3 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.08129, allocations: 39.83 kB / 394.3 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.08134, allocations: 53.58 kB / 394.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.08157, allocations: 211.6 kB / 394.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.08158, allocations: 0 / 394.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.08159, allocations: 0 / 394.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.0816, allocations: 3.938 kB / 394.6 MB, free: 2.797 MB / 286.1 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.0006716/0.08227, allocations: 0.5258 MB / 395.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.08231, allocations: 8.031 kB / 395.1 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.08237, allocations: 31.67 kB / 395.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.08264, allocations: 254.5 kB / 395.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.08267, allocations: 12 kB / 395.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.08271, allocations: 15.98 kB / 395.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.083, allocations: 182.6 kB / 395.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.08302, allocations: 0 / 395.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.08305, allocations: 4 kB / 395.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.08306, allocations: 0 / 395.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.08323, allocations: 71.95 kB / 395.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.08408, allocations: 0.5275 MB / 396.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.08435, allocations: 142.7 kB / 396.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.08437, allocations: 7.938 kB / 396.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.08464, allocations: 143.3 kB / 396.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.08465, allocations: 0 / 396.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005044/0.08516, allocations: 269.2 kB / 396.8 MB, free: 448 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.08525, allocations: 166.2 kB / 396.9 MB, free: 244 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.0855, allocations: 262.7 kB / 397.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.08554, allocations: 37.7 kB / 397.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.08564, allocations: 148.7 kB / 397.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.08569, allocations: 59.16 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.0857, allocations: 4 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.08585, allocations: 342.8 kB / 397.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.08596, allocations: 52.25 kB / 397.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.08616, allocations: 189.2 kB / 398 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.08631, allocations: 87.92 kB / 398.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.08632, allocations: 0 / 398.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003929/0.08672, allocations: 277.1 kB / 398.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.08675, allocations: 7.125 kB / 398.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.08676, allocations: 11.92 kB / 398.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.08679, allocations: 8 kB / 398.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.08703, allocations: 59.91 kB / 398.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.08705, allocations: 4 kB / 398.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.08722, allocations: 36.02 kB / 398.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.08724, allocations: 11.95 kB / 398.5 MB, free: 14.58 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true 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 () * Number of clocked 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.0001641/0.08741, allocations: 145.7 kB / 398.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.08745, allocations: 27.66 kB / 398.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.08751, allocations: 30.17 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.08752, allocations: 0 / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.08753, allocations: 4 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.08753, allocations: 0 / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.08815, allocations: 0.5568 MB / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.08817, allocations: 0 / 399.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.08838, allocations: 39.91 kB / 399.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.08839, allocations: 0 / 399.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.08842, allocations: 8 kB / 399.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.08842, allocations: 4 kB / 399.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.08843, allocations: 7.984 kB / 399.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.08895, allocations: 387 kB / 399.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.08902, allocations: 100.8 kB / 399.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.08906, allocations: 12 kB / 399.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.08922, allocations: 15.98 kB / 399.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.08927, allocations: 11.98 kB / 399.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.0893, allocations: 11.98 kB / 399.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.08945, allocations: 182 kB / 400 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08946, allocations: 0 / 400 MB, free: 12.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.08982, allocations: 79.92 kB / 400.1 MB, free: 12.88 MB / 302.1 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) * Number of clocked states: 0 () * 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.0001996/0.09002, allocations: 159.2 kB / 400.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.09038, allocations: 179.3 kB / 400.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.09039, allocations: 0 / 400.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.09052, allocations: 76.84 kB / 400.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.09079, allocations: 44.45 kB / 400.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.09179, allocations: 0.5678 MB / 401.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.09207, allocations: 0.7482 MB / 401.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.09218, allocations: 34.22 kB / 401.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.09223, allocations: 23.44 kB / 401.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09223, allocations: 3.938 kB / 401.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Templates: time 0.005469/0.09771, allocations: 2.781 MB / 404.7 MB, free: 8.215 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: