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/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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001337/0.001337, allocations: 184.2 kB / 17.34 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8851/0.8851, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 70.95 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 80.93 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006178/0.1756, allocations: 4.326 MB / 0.6696 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.179, allocations: 1.589 MB / 0.6711 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.1796, allocations: 35.81 kB / 0.6711 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.18, allocations: 174.2 kB / 0.6713 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006996/0.1807, allocations: 238.1 kB / 0.6715 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1821, allocations: 0.6744 MB / 0.6722 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1837, allocations: 1.226 MB / 0.6734 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.1843, allocations: 348.3 kB / 0.6737 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.185, allocations: 469.9 kB / 0.6742 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.1855, allocations: 457.5 kB / 0.6746 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1857, allocations: 104 kB / 0.6747 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1858, allocations: 103.9 kB / 0.6748 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.186, allocations: 239.1 kB / 0.675 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.1865, allocations: 489 kB / 0.6755 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1878, allocations: 1.167 MB / 0.6766 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1878, allocations: 0 / 0.6766 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1878, allocations: 0 / 0.6766 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.1878, allocations: 0 / 0.6766 GB, free: 10.11 MB / 0.5137 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.002643/0.1905, allocations: 1.433 MB / 0.678 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1905, allocations: 17.09 kB / 0.6781 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.1908, allocations: 132.1 kB / 0.6782 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.1921, allocations: 0.7634 MB / 0.6789 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1922, allocations: 84.27 kB / 0.679 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1924, allocations: 68.38 kB / 0.6791 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1937, allocations: 0.7329 MB / 0.6798 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1937, allocations: 3.938 kB / 0.6798 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.1938, allocations: 28 kB / 0.6798 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1938, allocations: 20 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.195, allocations: 0.5165 MB / 0.6803 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.1987, allocations: 2.256 MB / 0.6825 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2002, allocations: 0.5898 MB / 0.6831 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.2007, allocations: 258.4 kB / 0.6834 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.2008, allocations: 4.562 kB / 0.6834 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007108/0.2015, allocations: 327 kB / 0.6837 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.344e-06/0.2015, allocations: 0 / 0.6837 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001788/0.2033, allocations: 0.7562 MB / 0.6844 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.2033, allocations: 89.67 kB / 0.6845 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2044, allocations: 0.7555 MB / 0.6852 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.2044, allocations: 45.64 kB / 0.6853 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.2048, allocations: 437 kB / 0.6857 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.205, allocations: 222.1 kB / 0.6859 GB, free: 348 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.2052, allocations: 110.3 kB / 0.686 GB, free: 232 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.2054, allocations: 337.9 kB / 0.6863 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.2059, allocations: 207.4 kB / 0.6865 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.2065, allocations: 304.5 kB / 0.6868 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2075, allocations: 0.5036 MB / 0.6873 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.2075, allocations: 0 / 0.6873 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001395/0.2089, allocations: 0.6622 MB / 0.688 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2089, allocations: 4 kB / 0.688 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.209, allocations: 4 kB / 0.688 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.209, allocations: 8.25 kB / 0.688 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.2096, allocations: 143.8 kB / 0.6881 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.2097, allocations: 11.94 kB / 0.6881 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.2101, allocations: 71.55 kB / 0.6882 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.2102, allocations: 23.98 kB / 0.6882 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007088/0.2109, allocations: 357.4 kB / 0.6886 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005204/0.2114, allocations: 288.5 kB / 0.6888 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009516/0.2123, allocations: 0.4917 MB / 0.6893 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2123, allocations: 4 kB / 0.6893 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001261/0.2136, allocations: 0.6389 MB / 0.6899 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2136, allocations: 8 kB / 0.69 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2136, allocations: 0 / 0.69 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.2136, allocations: 4 kB / 0.69 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.2142, allocations: 139.8 kB / 0.6901 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2142, allocations: 4 kB / 0.6901 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.2147, allocations: 67.77 kB / 0.6902 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.2147, allocations: 20 kB / 0.6902 GB, free: 11.81 MB / 0.5294 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.215, allocations: 212.1 kB / 0.6904 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2151, allocations: 95.39 kB / 0.6905 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.2153, allocations: 101.2 kB / 0.6906 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.2153, allocations: 11.94 kB / 0.6906 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2154, allocations: 7.875 kB / 0.6906 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2154, allocations: 3.984 kB / 0.6906 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.2178, allocations: 1.431 MB / 0.692 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.2178, allocations: 0 / 0.692 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.2184, allocations: 111.8 kB / 0.6921 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2184, allocations: 4 kB / 0.6921 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.2184, allocations: 20.08 kB / 0.6921 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2184, allocations: 4 kB / 0.6921 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2184, allocations: 0 / 0.6921 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.2202, allocations: 0.9717 MB / 0.6931 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.2205, allocations: 228.3 kB / 0.6933 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.2206, allocations: 12 kB / 0.6933 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.2211, allocations: 31.97 kB / 0.6933 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2212, allocations: 32.52 kB / 0.6934 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.2212, allocations: 23.98 kB / 0.6934 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007278/0.2219, allocations: 0.5146 MB / 0.6939 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2219, allocations: 3.938 kB / 0.6939 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007922/0.2227, allocations: 279.3 kB / 0.6942 GB, free: 7.637 MB / 0.5294 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 (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.0001646/0.2229, allocations: 115.2 kB / 0.6943 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.2247, allocations: 0.7455 MB / 0.695 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2247, allocations: 80 / 0.695 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.2252, allocations: 259.2 kB / 0.6952 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.2264, allocations: 268.9 kB / 0.6955 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.2294, allocations: 1.617 MB / 0.6971 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.2301, allocations: 0.9898 MB / 0.698 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.2304, allocations: 71.42 kB / 0.6981 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.2304, allocations: 0 / 0.6981 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.01899/0.2493, allocations: 11.03 MB / 0.7089 GB, free: 8.551 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)