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.01036/0.01036, allocations: 109.3 kB / 15.74 MB, free: 5.578 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.001422/0.001422, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8204/0.8204, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 57.97 kB / 0.5856 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.181, allocations: 80.93 MB / 0.6646 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005957/0.187, allocations: 4.326 MB / 0.6688 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.1905, allocations: 1.589 MB / 0.6704 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.1921, allocations: 31.88 kB / 0.6704 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.1929, allocations: 166.2 kB / 0.6706 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.1946, allocations: 238 kB / 0.6708 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1964, allocations: 0.6669 MB / 0.6715 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.1982, allocations: 1.23 MB / 0.6727 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.1991, allocations: 0.504 MB / 0.6731 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.1999, allocations: 481.9 kB / 0.6736 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.2004, allocations: 461.4 kB / 0.674 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2005, allocations: 108 kB / 0.6741 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2006, allocations: 100 kB / 0.6742 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.2008, allocations: 235.1 kB / 0.6745 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.2012, allocations: 489 kB / 0.6749 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2022, allocations: 1.152 MB / 0.6761 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2022, allocations: 0 / 0.6761 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2023, allocations: 0 / 0.6761 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.2023, allocations: 3.938 kB / 0.6761 GB, free: 10.15 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.002201/0.2045, allocations: 1.399 MB / 0.6774 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2045, allocations: 13.11 kB / 0.6774 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2047, allocations: 127.4 kB / 0.6776 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.2059, allocations: 0.7548 MB / 0.6783 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.206, allocations: 88.25 kB / 0.6784 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.2061, allocations: 64.38 kB / 0.6784 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2073, allocations: 0.7368 MB / 0.6792 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2073, allocations: 4 kB / 0.6792 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.2074, allocations: 31.98 kB / 0.6792 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.2074, allocations: 16 kB / 0.6792 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2084, allocations: 0.5126 MB / 0.6797 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.2114, allocations: 2.251 MB / 0.6819 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.2128, allocations: 0.6192 MB / 0.6825 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.2133, allocations: 278.4 kB / 0.6828 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.2133, allocations: 4.562 kB / 0.6828 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.2139, allocations: 331 kB / 0.6831 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.2139, allocations: 0 / 0.6831 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001486/0.2154, allocations: 0.7478 MB / 0.6838 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.2155, allocations: 85.67 kB / 0.6839 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.2163, allocations: 0.7594 MB / 0.6847 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2164, allocations: 37.7 kB / 0.6847 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.2167, allocations: 440.5 kB / 0.6851 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.2169, allocations: 201 kB / 0.6853 GB, free: 408 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.217, allocations: 110.3 kB / 0.6854 GB, free: 292 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2172, allocations: 334 kB / 0.6857 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.2176, allocations: 207.4 kB / 0.6859 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.2181, allocations: 308.4 kB / 0.6862 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.219, allocations: 0.5036 MB / 0.6867 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.219, allocations: 4 kB / 0.6867 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00115/0.2202, allocations: 0.6541 MB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2202, allocations: 8 kB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2202, allocations: 4 kB / 0.6874 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2203, allocations: 4 kB / 0.6874 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.2209, allocations: 143.8 kB / 0.6875 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.2209, allocations: 11.94 kB / 0.6875 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.2213, allocations: 67.34 kB / 0.6876 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.2213, allocations: 27.98 kB / 0.6876 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005748/0.2219, allocations: 361.4 kB / 0.688 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004478/0.2224, allocations: 288.4 kB / 0.6882 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008188/0.2232, allocations: 495.7 kB / 0.6887 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.2232, allocations: 4 kB / 0.6887 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00106/0.2243, allocations: 0.6266 MB / 0.6893 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2243, allocations: 8 kB / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2243, allocations: 0 / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.2243, allocations: 4 kB / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.2249, allocations: 139.8 kB / 0.6895 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2249, allocations: 12.17 kB / 0.6895 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.2253, allocations: 67.45 kB / 0.6895 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.2253, allocations: 20 kB / 0.6896 GB, free: 11.88 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.0001905/0.2255, allocations: 217.9 kB / 0.6898 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2257, allocations: 94.86 kB / 0.6899 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.2258, allocations: 101.2 kB / 0.69 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2259, allocations: 11.94 kB / 0.69 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2259, allocations: 7.938 kB / 0.69 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2259, allocations: 3.984 kB / 0.69 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.2279, allocations: 1.435 MB / 0.6914 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2279, allocations: 0 / 0.6914 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.2285, allocations: 115.8 kB / 0.6915 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2285, allocations: 0 / 0.6915 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.2285, allocations: 12 kB / 0.6915 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2285, allocations: 8 kB / 0.6915 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2286, allocations: 3.984 kB / 0.6915 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.2301, allocations: 0.9595 MB / 0.6924 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.2303, allocations: 219.8 kB / 0.6927 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.2304, allocations: 12 kB / 0.6927 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.2308, allocations: 39.95 kB / 0.6927 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.2309, allocations: 32.52 kB / 0.6927 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.231, allocations: 19.98 kB / 0.6928 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005907/0.2316, allocations: 0.5146 MB / 0.6933 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2316, allocations: 0 / 0.6933 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007028/0.2323, allocations: 279 kB / 0.6935 GB, free: 7.719 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.0001371/0.2324, allocations: 112.5 kB / 0.6936 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.2339, allocations: 0.8002 MB / 0.6944 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2339, allocations: 0 / 0.6944 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.2344, allocations: 267.1 kB / 0.6947 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2354, allocations: 270.5 kB / 0.6949 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.2378, allocations: 1.545 MB / 0.6964 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2383, allocations: 0.9937 MB / 0.6974 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004002/0.2387, allocations: 122.8 kB / 0.6975 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2389, allocations: 59.44 kB / 0.6976 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2389, allocations: 0 / 0.6976 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.01595/0.2549, allocations: 9.375 MB / 0.7067 GB, free: 10.24 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)