Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001246, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7911/0.7911, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 103.9 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.788e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4975, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.6819, allocations: 118.9 MB / 0.7501 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6823, allocations: 83.95 kB / 0.7501 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07782/0.7602, allocations: 19.68 MB / 0.7694 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7602, allocations: 7.938 kB / 0.7694 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001765/0.7604, allocations: 24 kB / 0.7694 GB, free: 15.9 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003088/0.7635, allocations: 1.078 MB / 0.7704 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.7636, allocations: 12.03 kB / 0.7704 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.7642, allocations: 118.6 kB / 0.7706 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.7663, allocations: 0.7268 MB / 0.7713 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7665, allocations: 59.7 kB / 0.7713 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7667, allocations: 43.91 kB / 0.7714 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/0.7678, allocations: 452 kB / 0.7718 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.7691, allocations: 0.626 MB / 0.7724 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7691, allocations: 3.938 kB / 0.7724 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.7692, allocations: 11.98 kB / 0.7724 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.7692, allocations: 16 kB / 0.7724 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.7739, allocations: 2.207 MB / 0.7746 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.7751, allocations: 0.5596 MB / 0.7751 GB, free: 9.785 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.7755, allocations: 202.5 kB / 0.7753 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.7756, allocations: 8.562 kB / 0.7753 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.7761, allocations: 282.4 kB / 0.7756 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.486e-06/0.7762, allocations: 3.938 kB / 0.7756 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.00109/0.7773, allocations: 0.4905 MB / 0.7761 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7774, allocations: 137.1 kB / 0.7762 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009674/0.7784, allocations: 0.5514 MB / 0.7768 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.7784, allocations: 25.7 kB / 0.7768 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.7789, allocations: 440.1 kB / 0.7772 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.7792, allocations: 201 kB / 0.7774 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.7792, allocations: 4 kB / 0.7774 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7794, allocations: 330 kB / 0.7777 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.7797, allocations: 169.5 kB / 0.7779 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.7801, allocations: 289.9 kB / 0.7782 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.7805, allocations: 198.1 kB / 0.7783 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.7805, allocations: 0 / 0.7783 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001076/0.7816, allocations: 0.5603 MB / 0.7789 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.7821, allocations: 0.8754 MB / 0.7798 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7821, allocations: 4 kB / 0.7798 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.7822, allocations: 4 kB / 0.7798 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/0.7831, allocations: 163.8 kB / 0.7799 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.7831, allocations: 4 kB / 0.7799 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.7838, allocations: 67.48 kB / 0.78 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.7838, allocations: 27.95 kB / 0.78 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7838, allocations: 9.812 kB / 0.78 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007849/0.7846, allocations: 441.3 kB / 0.7804 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7847, allocations: 4 kB / 0.7804 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.7847, allocations: 7.938 kB / 0.7805 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.7855, allocations: 156 kB / 0.7806 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7855, allocations: 8 kB / 0.7806 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.7861, allocations: 55.56 kB / 0.7807 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.7862, allocations: 23.98 kB / 0.7807 GB, free: 3.918 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002186/0.7864, allocations: 120.8 kB / 0.7808 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009347/0.7873, allocations: 494.4 kB / 0.7813 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.7875, allocations: 90.88 kB / 0.7814 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.7878, allocations: 92.86 kB / 0.7814 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7878, allocations: 8 kB / 0.7815 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.7879, allocations: 0 / 0.7815 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.7879, allocations: 3.984 kB / 0.7815 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.7902, allocations: 1.314 MB / 0.7827 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7902, allocations: 4 kB / 0.7827 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.7909, allocations: 111.9 kB / 0.7829 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.7909, allocations: 4 kB / 0.7829 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.7909, allocations: 4 kB / 0.7829 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.7909, allocations: 3.938 kB / 0.7829 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.791, allocations: 0 / 0.7829 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.7923, allocations: 0.8695 MB / 0.7837 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.7927, allocations: 223.9 kB / 0.7839 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7928, allocations: 0 / 0.7839 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.7934, allocations: 39.95 kB / 0.784 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.7935, allocations: 40.5 kB / 0.784 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.7935, allocations: 16 kB / 0.784 GB, free: 416 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006236/0.7942, allocations: 439.1 kB / 0.7844 GB, free: 15.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7942, allocations: 0 / 0.7844 GB, free: 15.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008526/0.795, allocations: 271 kB / 0.7847 GB, free: 15.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001642/0.7967, allocations: 1.426 MB / 0.7861 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.798, allocations: 0.7388 MB / 0.7868 GB, free: 13.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.798, allocations: 0 / 0.7868 GB, free: 13.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.7984, allocations: 238 kB / 0.787 GB, free: 13.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7995, allocations: 224.6 kB / 0.7872 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.8022, allocations: 1.255 MB / 0.7885 GB, free: 11.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.8029, allocations: 1.014 MB / 0.7895 GB, free: 10.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007763/0.8036, allocations: 161 kB / 0.7896 GB, free: 10.57 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.8041, allocations: 351.3 kB / 0.79 GB, free: 10.23 MB / 0.573 GB Notification: Performance of SimCode: time 3.91e-07/0.8041, allocations: 0 / 0.79 GB, free: 10.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4457/1.25, allocations: 16.7 MB / 0.8063 GB, free: 146.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.25, allocations: 134.3 kB / 0.8064 GB, free: 146.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.847, allocations: 0 / 0.8064 GB, free: 146.1 MB / 0.573 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)