Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 107.4 kB / 16.27 MB, free: 6.414 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.001273/0.001273, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8304/0.8304, allocations: 135.2 MB / 426.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.89 kB / 0.506 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3357, allocations: 80.91 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001672/0.3374, allocations: 0.5817 MB / 0.5856 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.824e-05/0.3375, allocations: 7.922 kB / 0.5856 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3375, allocations: 2.188 kB / 0.5856 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.3375, allocations: 5.984 kB / 0.5856 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.3376, allocations: 0 / 0.5856 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.323e-05/0.3376, allocations: 0 / 0.5856 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.3376, allocations: 5.438 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3377, allocations: 1.094 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.089e-05/0.3377, allocations: 0 / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.545e-05/0.3377, allocations: 5.906 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.3377, allocations: 0 / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.3378, allocations: 2.688 kB / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3378, allocations: 0 / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.3378, allocations: 0 / 0.5856 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.821e-05/0.3378, allocations: 5.062 kB / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3379, allocations: 0.6875 kB / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3379, allocations: 0 / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3379, allocations: 0.7188 kB / 0.5857 GB, free: 24.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002091/0.3381, allocations: 315.2 kB / 0.586 GB, free: 24.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3381, allocations: 10.86 kB / 0.586 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.3382, allocations: 2.781 kB / 0.586 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.306e-05/0.3382, allocations: 160.4 kB / 0.5861 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3382, allocations: 1.062 kB / 0.5861 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.3382, allocations: 2.406 kB / 0.5861 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.3383, allocations: 31.95 kB / 0.5862 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3383, allocations: 0.8438 kB / 0.5862 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3383, allocations: 5.25 kB / 0.5862 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3384, allocations: 0.5312 kB / 0.5862 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.3384, allocations: 5.203 kB / 0.5862 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.659e-05/0.3385, allocations: 148.2 kB / 0.5863 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.034e-05/0.3385, allocations: 22.55 kB / 0.5863 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.3385, allocations: 6.984 kB / 0.5863 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3385, allocations: 1.156 kB / 0.5863 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.3386, allocations: 35.12 kB / 0.5864 GB, free: 23.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3386, allocations: 1.875 kB / 0.5864 GB, free: 23.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.3387, allocations: 35.14 kB / 0.5864 GB, free: 23.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3387, allocations: 59.39 kB / 0.5865 GB, free: 23.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56e-05/0.3387, allocations: 91.02 kB / 0.5865 GB, free: 23.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.3387, allocations: 27.14 kB / 0.5866 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-06/0.3388, allocations: 81.2 kB / 0.5867 GB, free: 23.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.3388, allocations: 3.906 kB / 0.5867 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.3388, allocations: 13.25 kB / 0.5867 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.3389, allocations: 311.6 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.3389, allocations: 1.312 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.3389, allocations: 0.625 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.3389, allocations: 18.86 kB / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3389, allocations: 0 / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.934e-05/0.339, allocations: 34.59 kB / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.339, allocations: 9.219 kB / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.339, allocations: 0.5 kB / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.339, allocations: 5.469 kB / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.3391, allocations: 6.844 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3391, allocations: 0 / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-06/0.3391, allocations: 0 / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3391, allocations: 1.375 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.74e-05/0.3391, allocations: 108.2 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-06/0.3391, allocations: 0.7812 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.3392, allocations: 11.06 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3392, allocations: 1.688 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3392, allocations: 0 / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3392, allocations: 5.688 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.411e-05/0.3392, allocations: 152.7 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3392, allocations: 0 / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.3392, allocations: 1.281 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3393, allocations: 0 / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3393, allocations: 5.219 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3393, allocations: 5.031 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3393, allocations: 1.25 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.565e-05/0.3393, allocations: 59.84 kB / 0.5874 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.3393, allocations: 78.23 kB / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.3394, allocations: 5.406 kB / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.3394, allocations: 0 / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.3394, allocations: 2.375 kB / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.3394, allocations: 0 / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.035e-05/0.3394, allocations: 78.94 kB / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3394, allocations: 0 / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.3396, allocations: 1.5 kB / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 7.084e-05/0.3397, allocations: 101.6 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.715e-05/0.3397, allocations: 3.938 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3397, allocations: 0 / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.3398, allocations: 2.594 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.3399, allocations: 7.547 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001513/0.3401, allocations: 106.9 kB / 0.5877 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.3401, allocations: 0.6702 MB / 0.5884 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.3402, allocations: 11.38 kB / 0.5884 GB, free: 21.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3402, allocations: 0 / 0.5884 GB, free: 21.7 MB / 446.1 MB Notification: Performance of Templates: time 0.001574/0.3418, allocations: 337.8 kB / 0.5887 GB, free: 21.54 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)