Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3275/0.3275, allocations: 54.33 MB / 66.89 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001592/0.001592, allocations: 189.7 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.725/1.725, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.8 kB / 346.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.082e-05, allocations: 8 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5868, allocations: 92.46 MB / 0.5493 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5871, allocations: 75.95 kB / 0.5494 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04559/0.6327, allocations: 16.36 MB / 0.5653 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6327, allocations: 0 / 0.5653 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.365e-05/0.6328, allocations: 23.94 kB / 0.5654 GB, free: 13.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001576/0.6344, allocations: 0.9154 MB / 0.5663 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6345, allocations: 8.031 kB / 0.5663 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.6346, allocations: 90.88 kB / 0.5664 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.6356, allocations: 0.5625 MB / 0.5669 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.6357, allocations: 96.41 kB / 0.567 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.6358, allocations: 52 kB / 0.5671 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009223/0.6368, allocations: 0.5534 MB / 0.5676 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6368, allocations: 0 / 0.5676 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.6368, allocations: 20 kB / 0.5676 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.6369, allocations: 12 kB / 0.5676 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.6375, allocations: 359.8 kB / 0.568 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.6403, allocations: 1.992 MB / 0.5699 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.6411, allocations: 452.5 kB / 0.5703 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.6414, allocations: 175 kB / 0.5705 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.6415, allocations: 7.984 kB / 0.5705 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.642, allocations: 243.2 kB / 0.5707 GB, free: 7.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.642, allocations: 0 / 0.5707 GB, free: 7.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007192/0.6427, allocations: 420.6 kB / 0.5712 GB, free: 7.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6428, allocations: 183.9 kB / 0.5713 GB, free: 7.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.6434, allocations: 0.5076 MB / 0.5718 GB, free: 6.586 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.6435, allocations: 41.64 kB / 0.5719 GB, free: 6.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.6437, allocations: 348.1 kB / 0.5722 GB, free: 6.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.6439, allocations: 145.8 kB / 0.5723 GB, free: 6.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.6439, allocations: 12 kB / 0.5723 GB, free: 6.039 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6441, allocations: 386.8 kB / 0.5727 GB, free: 5.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.6444, allocations: 141.1 kB / 0.5728 GB, free: 5.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.6447, allocations: 254.1 kB / 0.5731 GB, free: 5.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.645, allocations: 199.3 kB / 0.5733 GB, free: 5.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6451, allocations: 0 / 0.5733 GB, free: 5.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007969/0.6459, allocations: 0.5241 MB / 0.5738 GB, free: 4.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00035/0.6462, allocations: 0.819 MB / 0.5746 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6462, allocations: 4 kB / 0.5746 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6463, allocations: 4 kB / 0.5746 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.6468, allocations: 123.8 kB / 0.5747 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6468, allocations: 11.94 kB / 0.5747 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.6473, allocations: 79.48 kB / 0.5748 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.6473, allocations: 20 kB / 0.5748 GB, free: 3.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.6473, allocations: 4 kB / 0.5748 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006762/0.648, allocations: 435.9 kB / 0.5752 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.648, allocations: 0 / 0.5752 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.648, allocations: 11.94 kB / 0.5753 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.6484, allocations: 91.91 kB / 0.5753 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.6485, allocations: 7.938 kB / 0.5753 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.6488, allocations: 59.91 kB / 0.5754 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.6489, allocations: 20 kB / 0.5754 GB, free: 2.738 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0001484/0.649, allocations: 128.9 kB / 0.5755 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.6491, allocations: 71.06 kB / 0.5756 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.6493, allocations: 78.73 kB / 0.5757 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6493, allocations: 7.953 kB / 0.5757 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6493, allocations: 4.047 kB / 0.5757 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.6493, allocations: 11.94 kB / 0.5757 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.6501, allocations: 0.6297 MB / 0.5763 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.6501, allocations: 0 / 0.5763 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.6506, allocations: 91.88 kB / 0.5764 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6506, allocations: 4 kB / 0.5764 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.6506, allocations: 12 kB / 0.5764 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6506, allocations: 3.938 kB / 0.5764 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6506, allocations: 7.953 kB / 0.5764 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6517, allocations: 0.6384 MB / 0.5771 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.6519, allocations: 192.2 kB / 0.5772 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.652, allocations: 12 kB / 0.5773 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.6525, allocations: 67.94 kB / 0.5773 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.6526, allocations: 27.95 kB / 0.5774 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.6526, allocations: 19.94 kB / 0.5774 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004698/0.6531, allocations: 403.2 kB / 0.5778 GB, free: 264 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6531, allocations: 0 / 0.5778 GB, free: 264 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006035/0.6537, allocations: 235.3 kB / 0.578 GB, free: 28 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002238/0.654, allocations: 123.1 kB / 0.5781 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.655, allocations: 0.7153 MB / 0.5788 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.655, allocations: 1 kB / 0.5788 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.6554, allocations: 187.8 kB / 0.579 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.6561, allocations: 166.1 kB / 0.5791 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.6578, allocations: 0.866 MB / 0.58 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.6583, allocations: 0.9194 MB / 0.5809 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.6588, allocations: 131.4 kB / 0.581 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.659, allocations: 39.44 kB / 0.581 GB, free: 12.8 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.659, allocations: 0 / 0.581 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01598/0.675, allocations: 8.841 MB / 0.5897 GB, free: 4.012 MB / 426.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1)