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.001063/0.001063, allocations: 175.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06082/0.06082, allocations: 10.76 MB / 27.63 MB, free: 1.77 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.759/1.759, allocations: 205.4 MB / 236.2 MB, free: 10.17 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.0008087/0.0008087, allocations: 89.75 kB / 287 MB, free: 12.37 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006268, allocations: 12 kB / 347.6 MB, free: 15.6 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.376, allocations: 49.99 MB / 397.6 MB, free: 34.58 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5115, allocations: 78.68 MB / 476.3 MB, free: 3.785 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.5118, allocations: 79.95 kB / 476.4 MB, free: 3.707 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.5265, allocations: 5.205 MB / 481.6 MB, free: 14.49 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5265, allocations: 0 / 481.6 MB, free: 14.49 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.5266, allocations: 11.88 kB / 481.6 MB, free: 14.48 MB / 362.8 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.0009949/0.5276, allocations: 0.5314 MB / 482.1 MB, free: 13.89 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5276, allocations: 8.031 kB / 482.1 MB, free: 13.89 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.5278, allocations: 36.56 kB / 482.2 MB, free: 13.85 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.5283, allocations: 283.5 kB / 482.5 MB, free: 13.54 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.5283, allocations: 16.31 kB / 482.5 MB, free: 13.52 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.5284, allocations: 12.38 kB / 482.5 MB, free: 13.51 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.5287, allocations: 176.1 kB / 482.7 MB, free: 13.32 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5288, allocations: 192 / 482.7 MB, free: 13.32 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.5288, allocations: 19.88 kB / 482.7 MB, free: 13.3 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5288, allocations: 0 / 482.7 MB, free: 13.3 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.529, allocations: 67.95 kB / 482.7 MB, free: 13.23 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.5302, allocations: 0.5236 MB / 483.3 MB, free: 12.66 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.5306, allocations: 142.7 kB / 483.4 MB, free: 12.51 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.5307, allocations: 64.77 kB / 483.5 MB, free: 12.45 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.5307, allocations: 0 / 483.5 MB, free: 12.45 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.5311, allocations: 147.5 kB / 483.6 MB, free: 12.29 MB / 362.8 MB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.5311, allocations: 4 kB / 483.6 MB, free: 12.29 MB / 362.8 MB Notification: Performance of matching and sorting (n=20): time 0.0006609/0.5318, allocations: 270.3 kB / 483.9 MB, free: 12.02 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5319, allocations: 166.2 kB / 484 MB, free: 11.82 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.5322, allocations: 266.5 kB / 484.3 MB, free: 11.54 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5323, allocations: 33.7 kB / 484.3 MB, free: 11.5 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5324, allocations: 152.4 kB / 484.5 MB, free: 11.35 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.5325, allocations: 63.19 kB / 484.5 MB, free: 11.29 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.5325, allocations: 8 kB / 484.6 MB, free: 11.28 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5326, allocations: 338.8 kB / 484.9 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.5328, allocations: 56.27 kB / 484.9 MB, free: 10.88 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.533, allocations: 185.6 kB / 485.1 MB, free: 10.64 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.5335, allocations: 254.6 kB / 485.4 MB, free: 10.34 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5335, allocations: 0 / 485.4 MB, free: 10.34 MB / 362.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005133/0.534, allocations: 269.5 kB / 485.6 MB, free: 10.07 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.534, allocations: 8.031 kB / 485.6 MB, free: 10.07 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5341, allocations: 4 kB / 485.6 MB, free: 10.06 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5341, allocations: 8 kB / 485.6 MB, free: 10.05 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.5344, allocations: 59.84 kB / 485.7 MB, free: 9.996 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5344, allocations: 4 kB / 485.7 MB, free: 9.992 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5346, allocations: 39.67 kB / 485.8 MB, free: 9.953 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5347, allocations: 12 kB / 485.8 MB, free: 9.941 MB / 362.8 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.0002401/0.5349, allocations: 157.4 kB / 485.9 MB, free: 9.777 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.535, allocations: 31.64 kB / 485.9 MB, free: 9.746 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.5351, allocations: 26.19 kB / 486 MB, free: 9.727 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5351, allocations: 0 / 486 MB, free: 9.727 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5351, allocations: 11.92 kB / 486 MB, free: 9.715 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5351, allocations: 3.938 kB / 486 MB, free: 9.711 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.536, allocations: 0.553 MB / 486.5 MB, free: 9.102 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.536, allocations: 0 / 486.5 MB, free: 9.102 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.5363, allocations: 35.92 kB / 486.6 MB, free: 9.066 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5363, allocations: 0 / 486.6 MB, free: 9.066 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5364, allocations: 15.92 kB / 486.6 MB, free: 9.051 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5364, allocations: 0 / 486.6 MB, free: 9.051 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5364, allocations: 4 kB / 486.6 MB, free: 9.047 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.5371, allocations: 391.3 kB / 487 MB, free: 8.648 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.5372, allocations: 100.8 kB / 487.1 MB, free: 8.531 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.5372, allocations: 12 kB / 487.1 MB, free: 8.52 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.5374, allocations: 11.98 kB / 487.1 MB, free: 8.508 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.5375, allocations: 11.98 kB / 487.1 MB, free: 8.496 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.5375, allocations: 15.98 kB / 487.1 MB, free: 8.48 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001777/0.5377, allocations: 186 kB / 487.3 MB, free: 8.305 MB / 362.8 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5377, allocations: 0 / 487.3 MB, free: 8.305 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0004618/0.5381, allocations: 99.77 kB / 487.4 MB, free: 8.207 MB / 362.8 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.0003226/0.5385, allocations: 175 kB / 487.6 MB, free: 8.023 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.5389, allocations: 172 kB / 487.7 MB, free: 7.855 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5389, allocations: 0 / 487.7 MB, free: 7.855 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.539, allocations: 75.91 kB / 487.8 MB, free: 7.781 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.5394, allocations: 49.2 kB / 487.9 MB, free: 7.73 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5408, allocations: 0.5761 MB / 488.4 MB, free: 7.125 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.5412, allocations: 0.7443 MB / 489.2 MB, free: 6.352 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.5413, allocations: 42.23 kB / 489.2 MB, free: 6.312 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.5414, allocations: 23.44 kB / 489.3 MB, free: 6.289 MB / 362.8 MB Notification: Performance of SimCode: time 6.82e-07/0.5414, allocations: 0 / 489.3 MB, free: 6.289 MB / 362.8 MB Notification: Performance of Templates: time 0.006854/0.5483, allocations: 2.812 MB / 492.1 MB, free: 3.484 MB / 362.8 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)