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.005593/0.005593, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05798/0.05798, allocations: 10.74 MB / 26.59 MB, free: 2.262 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.539/1.539, allocations: 205.4 MB / 235.2 MB, free: 188 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008212/0.0008214, allocations: 90.72 kB / 285.9 MB, free: 10.74 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 8 kB / 346.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1024, allocations: 50 MB / 396.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4092, allocations: 78.65 MB / 475 MB, free: 17.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4095, allocations: 76.48 kB / 475.1 MB, free: 17.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.4224, allocations: 5.192 MB / 480.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4224, allocations: 0 / 480.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4225, allocations: 8 kB / 480.3 MB, free: 13.45 MB / 346.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.0007372/0.4232, allocations: 0.5389 MB / 480.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4233, allocations: 8.031 kB / 480.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.4233, allocations: 31.62 kB / 480.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.4236, allocations: 262 kB / 481.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4237, allocations: 13.44 kB / 481.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.4237, allocations: 28.62 kB / 481.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.424, allocations: 171 kB / 481.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.424, allocations: 224 / 481.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4241, allocations: 11.17 kB / 481.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4241, allocations: 3.938 kB / 481.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4242, allocations: 73.36 kB / 481.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.4251, allocations: 0.5177 MB / 482 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.4253, allocations: 143.2 kB / 482.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.4254, allocations: 8 kB / 482.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.4257, allocations: 148.6 kB / 482.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4257, allocations: 0 / 482.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004908/0.4262, allocations: 274.1 kB / 482.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4263, allocations: 158.2 kB / 482.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.4265, allocations: 230.8 kB / 482.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4265, allocations: 39.27 kB / 482.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.4266, allocations: 155 kB / 483.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.4266, allocations: 58.38 kB / 483.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.4266, allocations: 3.125 kB / 483.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.4267, allocations: 340.8 kB / 483.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.4268, allocations: 58.31 kB / 483.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.427, allocations: 186.2 kB / 483.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.4272, allocations: 84.67 kB / 483.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4272, allocations: 0 / 483.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003579/0.4275, allocations: 270.5 kB / 484.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4276, allocations: 4 kB / 484.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4276, allocations: 4 kB / 484.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4276, allocations: 8.469 kB / 484.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.4279, allocations: 67.28 kB / 484.2 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4279, allocations: 7.984 kB / 484.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.428, allocations: 31.48 kB / 484.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4281, allocations: 11.94 kB / 484.2 MB, free: 9.773 MB / 346.7 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.0001756/0.4283, allocations: 148.5 kB / 484.4 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.4283, allocations: 27.62 kB / 484.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.4284, allocations: 36.05 kB / 484.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4284, allocations: 2.812 kB / 484.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4284, allocations: 7.938 kB / 484.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4284, allocations: 0 / 484.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.4289, allocations: 0.5457 MB / 485 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.429, allocations: 0 / 485 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4292, allocations: 39.92 kB / 485 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4292, allocations: 3.984 kB / 485 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.4292, allocations: 7.875 kB / 485 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4292, allocations: 4 kB / 485 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4292, allocations: 0 / 485 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.4297, allocations: 409.6 kB / 485.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.4298, allocations: 92.83 kB / 485.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.4298, allocations: 10.55 kB / 485.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.43, allocations: 11.81 kB / 485.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.43, allocations: 15.91 kB / 485.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4301, allocations: 11.38 kB / 485.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4302, allocations: 182.5 kB / 485.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4302, allocations: 0 / 485.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000398/0.4306, allocations: 102.8 kB / 485.8 MB, free: 8.277 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) * 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.0002152/0.4308, allocations: 190.5 kB / 486 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.4311, allocations: 165.2 kB / 486.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4312, allocations: 8.25 kB / 486.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4313, allocations: 73.41 kB / 486.3 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4316, allocations: 44.31 kB / 486.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4326, allocations: 0.5736 MB / 486.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.4328, allocations: 0.756 MB / 487.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4329, allocations: 26.28 kB / 487.7 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.4329, allocations: 27.44 kB / 487.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4329, allocations: 0 / 487.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of Templates: time 0.005373/0.4383, allocations: 2.759 MB / 490.5 MB, free: 3.77 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)