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.01456/0.01456, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002172/0.002172, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.541/1.541, allocations: 222.9 MB / 240.3 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.143/1.143, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 0.5856 GB, free: 3.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.586, allocations: 80.92 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005117/0.5911, allocations: 3.712 MB / 0.6682 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002672/0.5938, allocations: 1.324 MB / 0.6695 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.5943, allocations: 25 kB / 0.6696 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.5947, allocations: 130.3 kB / 0.6697 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.5952, allocations: 179.9 kB / 0.6699 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.5964, allocations: 0.5732 MB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009737/0.5973, allocations: 0.9743 MB / 0.6714 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.5979, allocations: 350.3 kB / 0.6717 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.5983, allocations: 374 kB / 0.6721 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.5987, allocations: 352.7 kB / 0.6724 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.5988, allocations: 77.78 kB / 0.6725 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.599, allocations: 77.84 kB / 0.6725 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.5991, allocations: 187.7 kB / 0.6727 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.5994, allocations: 374.9 kB / 0.6731 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008734/0.6003, allocations: 0.8909 MB / 0.6739 GB, free: 356 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6003, allocations: 4 kB / 0.674 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6003, allocations: 0 / 0.674 GB, free: 352 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.6004, allocations: 4 kB / 0.674 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.002292/0.6027, allocations: 1.172 MB / 0.6751 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6027, allocations: 9.25 kB / 0.6751 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.6029, allocations: 94.09 kB / 0.6752 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6042, allocations: 0.6224 MB / 0.6758 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.6043, allocations: 98.66 kB / 0.6759 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.6044, allocations: 54.84 kB / 0.676 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.6057, allocations: 0.6048 MB / 0.6765 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6057, allocations: 0 / 0.6765 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.6057, allocations: 21.78 kB / 0.6766 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.6058, allocations: 12.84 kB / 0.6766 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6068, allocations: 427.7 kB / 0.677 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.6099, allocations: 2.1 MB / 0.679 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6113, allocations: 0.4916 MB / 0.6795 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.6118, allocations: 222.3 kB / 0.6797 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.6118, allocations: 8.438 kB / 0.6797 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006924/0.6125, allocations: 280.6 kB / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/0.6125, allocations: 3.938 kB / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001664/0.6142, allocations: 0.6065 MB / 0.6806 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.6143, allocations: 90.39 kB / 0.6807 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.6152, allocations: 0.611 MB / 0.6813 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.6152, allocations: 33.02 kB / 0.6813 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.6155, allocations: 361.6 kB / 0.6817 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6157, allocations: 156.1 kB / 0.6818 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6158, allocations: 92.5 kB / 0.6819 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.616, allocations: 330.9 kB / 0.6822 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.6165, allocations: 181.3 kB / 0.6824 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.617, allocations: 279.8 kB / 0.6826 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6181, allocations: 478.5 kB / 0.6831 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.6181, allocations: 3.938 kB / 0.6831 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001287/0.6194, allocations: 0.5966 MB / 0.6837 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.6194, allocations: 36.47 kB / 0.6837 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6194, allocations: 2.844 kB / 0.6837 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.6195, allocations: 10.94 kB / 0.6837 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.62, allocations: 108.4 kB / 0.6838 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.62, allocations: 4.969 kB / 0.6838 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.6204, allocations: 69.5 kB / 0.6839 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.6205, allocations: 17.97 kB / 0.6839 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005977/0.6211, allocations: 307.4 kB / 0.6842 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004961/0.6216, allocations: 269.4 kB / 0.6845 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009304/0.6225, allocations: 460.8 kB / 0.6849 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.6226, allocations: 1.438 kB / 0.6849 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001149/0.6237, allocations: 0.5798 MB / 0.6855 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.6237, allocations: 32.98 kB / 0.6855 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6238, allocations: 2.688 kB / 0.6855 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.6238, allocations: 4.125 kB / 0.6855 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.6242, allocations: 102.8 kB / 0.6856 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6242, allocations: 12.31 kB / 0.6856 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.6247, allocations: 44.92 kB / 0.6857 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.6247, allocations: 19.19 kB / 0.6857 GB, free: 7.98 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.00025/0.625, allocations: 218.5 kB / 0.6859 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6251, allocations: 77 kB / 0.686 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.6253, allocations: 77.88 kB / 0.6861 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6253, allocations: 4.375 kB / 0.6861 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.6253, allocations: 4.969 kB / 0.6861 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6253, allocations: 7.922 kB / 0.6861 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.6262, allocations: 0.6261 MB / 0.6867 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6262, allocations: 0 / 0.6867 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.6266, allocations: 82.5 kB / 0.6868 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6266, allocations: 1.25 kB / 0.6868 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.6267, allocations: 11.47 kB / 0.6868 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.6267, allocations: 1.125 kB / 0.6868 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6267, allocations: 1.125 kB / 0.6868 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.6283, allocations: 0.7337 MB / 0.6875 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.6286, allocations: 188.7 kB / 0.6877 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.6287, allocations: 6.312 kB / 0.6877 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.6291, allocations: 38.02 kB / 0.6877 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6292, allocations: 35.52 kB / 0.6877 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.6293, allocations: 19.48 kB / 0.6878 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005576/0.6298, allocations: 427.8 kB / 0.6882 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6298, allocations: 0 / 0.6882 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007053/0.6305, allocations: 223 kB / 0.6884 GB, free: 6.164 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.0001733/0.6307, allocations: 113.2 kB / 0.6885 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.6324, allocations: 0.7812 MB / 0.6893 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6324, allocations: 0 / 0.6893 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.6329, allocations: 221.6 kB / 0.6895 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.6339, allocations: 212.7 kB / 0.6897 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.6363, allocations: 1.171 MB / 0.6908 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.6369, allocations: 0.9201 MB / 0.6917 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.6373, allocations: 98.33 kB / 0.6918 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.6374, allocations: 49.39 kB / 0.6919 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.6374, allocations: 0 / 0.6919 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.01498/0.6524, allocations: 7.658 MB / 0.6993 GB, free: 13.53 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)