Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006796/0.006796, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 202 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5816, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004958/0.5866, allocations: 3.714 MB / 0.6682 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.5896, allocations: 1.328 MB / 0.6695 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.5902, allocations: 24.34 kB / 0.6696 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.5906, allocations: 126.7 kB / 0.6697 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.5912, allocations: 177.6 kB / 0.6698 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.5924, allocations: 0.5664 MB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.5934, allocations: 0.9735 MB / 0.6713 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.5939, allocations: 354.8 kB / 0.6717 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.5944, allocations: 363.3 kB / 0.672 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.5947, allocations: 351.9 kB / 0.6724 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.5949, allocations: 76.94 kB / 0.6724 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.595, allocations: 82.41 kB / 0.6725 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.5952, allocations: 183.2 kB / 0.6727 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.5955, allocations: 374.8 kB / 0.6731 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.5964, allocations: 0.8935 MB / 0.6739 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5964, allocations: 5.453 kB / 0.6739 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5965, allocations: 0 / 0.6739 GB, free: 348 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.5965, allocations: 0 / 0.6739 GB, free: 348 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002219/0.5987, allocations: 1.21 MB / 0.6751 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5988, allocations: 9.031 kB / 0.6751 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.599, allocations: 98.3 kB / 0.6752 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.6002, allocations: 0.6235 MB / 0.6758 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.6003, allocations: 93.56 kB / 0.6759 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6004, allocations: 63.67 kB / 0.676 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6017, allocations: 0.6007 MB / 0.6766 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6017, allocations: 1.531 kB / 0.6766 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.6018, allocations: 21.5 kB / 0.6766 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.6018, allocations: 11.56 kB / 0.6766 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6028, allocations: 427.4 kB / 0.677 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.6059, allocations: 2.104 MB / 0.6791 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.6072, allocations: 0.5034 MB / 0.6795 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.6077, allocations: 221.2 kB / 0.6798 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.6077, allocations: 4.719 kB / 0.6798 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.6085, allocations: 279.8 kB / 0.68 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 3.036e-06/0.6085, allocations: 0 / 0.68 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.00165/0.6101, allocations: 0.6119 MB / 0.6806 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.6102, allocations: 86.55 kB / 0.6807 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/0.6111, allocations: 0.6142 MB / 0.6813 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.6111, allocations: 37.14 kB / 0.6813 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.6114, allocations: 362.7 kB / 0.6817 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6116, allocations: 164.2 kB / 0.6818 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.6118, allocations: 92.48 kB / 0.6819 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6119, allocations: 337.6 kB / 0.6823 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.6124, allocations: 182 kB / 0.6824 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.6129, allocations: 279.9 kB / 0.6827 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.6139, allocations: 475.2 kB / 0.6832 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.614, allocations: 3.938 kB / 0.6832 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001351/0.6153, allocations: 0.6015 MB / 0.6837 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.6154, allocations: 36.14 kB / 0.6838 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6154, allocations: 3.094 kB / 0.6838 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6154, allocations: 6.25 kB / 0.6838 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.6159, allocations: 111.5 kB / 0.6839 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.616, allocations: 5.719 kB / 0.6839 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.6164, allocations: 68.62 kB / 0.684 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.6165, allocations: 18.28 kB / 0.684 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006115/0.6171, allocations: 311.2 kB / 0.6843 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004774/0.6176, allocations: 265.7 kB / 0.6845 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008665/0.6185, allocations: 458.5 kB / 0.685 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.6185, allocations: 0 / 0.685 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001197/0.6197, allocations: 0.5924 MB / 0.6855 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6197, allocations: 32.17 kB / 0.6856 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6197, allocations: 2.812 kB / 0.6856 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.6197, allocations: 5.812 kB / 0.6856 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.6202, allocations: 105.8 kB / 0.6857 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6202, allocations: 4 kB / 0.6857 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.6206, allocations: 53.31 kB / 0.6857 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.6207, allocations: 21.98 kB / 0.6858 GB, free: 7.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.6209, allocations: 217.1 kB / 0.686 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.621, allocations: 74.5 kB / 0.686 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6212, allocations: 78 kB / 0.6861 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6213, allocations: 8.594 kB / 0.6861 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.6213, allocations: 0 / 0.6861 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6213, allocations: 5.234 kB / 0.6861 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.6221, allocations: 0.6175 MB / 0.6867 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6221, allocations: 1.219 kB / 0.6867 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.6226, allocations: 89.25 kB / 0.6868 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6226, allocations: 1.281 kB / 0.6868 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6227, allocations: 11.41 kB / 0.6868 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.6227, allocations: 2.344 kB / 0.6868 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6227, allocations: 0 / 0.6868 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.6243, allocations: 0.7382 MB / 0.6876 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.6245, allocations: 189.8 kB / 0.6877 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.6246, allocations: 10.22 kB / 0.6877 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.625, allocations: 37.7 kB / 0.6878 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6251, allocations: 34.48 kB / 0.6878 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.6252, allocations: 17.77 kB / 0.6878 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005942/0.6258, allocations: 430.1 kB / 0.6882 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6258, allocations: 0 / 0.6882 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007169/0.6265, allocations: 218.9 kB / 0.6884 GB, free: 6.082 MB / 0.5137 GB 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.6267, allocations: 106.3 kB / 0.6885 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.6283, allocations: 0.7927 MB / 0.6893 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6284, allocations: 0 / 0.6893 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.6288, allocations: 213.8 kB / 0.6895 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.6298, allocations: 211.4 kB / 0.6897 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.6321, allocations: 1.195 MB / 0.6909 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.6327, allocations: 0.9206 MB / 0.6918 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004279/0.6331, allocations: 89.62 kB / 0.6919 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.6333, allocations: 56.86 kB / 0.6919 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.6333, allocations: 0 / 0.6919 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of Templates: time 0.0171/0.6504, allocations: 7.656 MB / 0.6994 GB, free: 13.41 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)