Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001611/0.001611, allocations: 113.5 kB / 16.37 MB, free: 6 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.002126/0.002126, allocations: 196 kB / 17.31 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.88 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3803, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002871/0.3832, allocations: 0.5892 MB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 5.493e-05/0.3833, allocations: 1.156 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.3833, allocations: 1.812 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3834, allocations: 3.938 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.3834, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.143e-05/0.3835, allocations: 1.125 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.3836, allocations: 5.266 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.3837, allocations: 2.312 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.3837, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.3838, allocations: 7.938 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3838, allocations: 3.062 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-06/0.3838, allocations: 0 / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.3838, allocations: 0 / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3839, allocations: 1.125 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.153e-05/0.384, allocations: 3.984 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.384, allocations: 1.719 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.384, allocations: 0.625 kB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.384, allocations: 0 / 0.5821 GB, free: 27.08 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.0003029/0.3843, allocations: 315 kB / 0.5824 GB, free: 26.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.3844, allocations: 10.03 kB / 0.5824 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3845, allocations: 2.25 kB / 0.5824 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.3846, allocations: 162.3 kB / 0.5826 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3846, allocations: 384 / 0.5826 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3846, allocations: 5.344 kB / 0.5826 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3848, allocations: 36.58 kB / 0.5826 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3848, allocations: 0.7188 kB / 0.5826 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3848, allocations: 3.938 kB / 0.5826 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3848, allocations: 2.375 kB / 0.5826 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.3849, allocations: 1.031 kB / 0.5826 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.385, allocations: 147.7 kB / 0.5828 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.3851, allocations: 18.7 kB / 0.5828 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3852, allocations: 10.14 kB / 0.5828 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3852, allocations: 0.875 kB / 0.5828 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3852, allocations: 40.28 kB / 0.5828 GB, free: 26.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.195e-06/0.3852, allocations: 1.062 kB / 0.5828 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.3854, allocations: 35.02 kB / 0.5829 GB, free: 26.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.3855, allocations: 56.02 kB / 0.5829 GB, free: 26.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.227e-05/0.3855, allocations: 90.64 kB / 0.583 GB, free: 26.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3855, allocations: 26.77 kB / 0.583 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.3856, allocations: 81.42 kB / 0.5831 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3856, allocations: 9.281 kB / 0.5831 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3857, allocations: 10.66 kB / 0.5831 GB, free: 25.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.3858, allocations: 312.6 kB / 0.5834 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.3858, allocations: 2.625 kB / 0.5834 GB, free: 25.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.3858, allocations: 1.219 kB / 0.5834 GB, free: 25.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.3859, allocations: 11.67 kB / 0.5834 GB, free: 25.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3859, allocations: 0 / 0.5834 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.854e-05/0.386, allocations: 36.7 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.386, allocations: 9.453 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.386, allocations: 5.156 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3861, allocations: 3.938 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.3861, allocations: 1.438 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3862, allocations: 2.062 kB / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.3862, allocations: 0 / 0.5835 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3862, allocations: 2.375 kB / 0.5835 GB, free: 25.5 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 6.967e-05/0.3863, allocations: 107.1 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3863, allocations: 1.125 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3864, allocations: 7.062 kB / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3864, allocations: 1.406 kB / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3864, allocations: 5.359 kB / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3864, allocations: 0 / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.522e-05/0.3865, allocations: 150.9 kB / 0.5837 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3865, allocations: 5.094 kB / 0.5838 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.3865, allocations: 2.531 kB / 0.5838 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3865, allocations: 0 / 0.5838 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3866, allocations: 8.5 kB / 0.5838 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3866, allocations: 1.156 kB / 0.5838 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3866, allocations: 0.7188 kB / 0.5838 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.082e-05/0.3867, allocations: 57.03 kB / 0.5838 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.3867, allocations: 82.23 kB / 0.5839 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3868, allocations: 5.219 kB / 0.5839 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.3868, allocations: 4 kB / 0.5839 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.3868, allocations: 1.594 kB / 0.5839 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3868, allocations: 1.344 kB / 0.5839 GB, free: 25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.3869, allocations: 75.28 kB / 0.584 GB, free: 24.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3869, allocations: 0 / 0.584 GB, free: 24.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3872, allocations: 2.375 kB / 0.584 GB, free: 24.92 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 0.0001043/0.3873, allocations: 92.97 kB / 0.5841 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3874, allocations: 11.89 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3875, allocations: 0.875 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.4e-05/0.3875, allocations: 1.938 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3877, allocations: 3.594 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.388, allocations: 78.34 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3882, allocations: 0.676 MB / 0.5848 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.691e-05/0.3882, allocations: 0 / 0.5848 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.3882, allocations: 7.438 kB / 0.5848 GB, free: 24.03 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3882, allocations: 2.219 kB / 0.5848 GB, free: 24.03 MB / 446.1 MB Notification: Performance of Templates: time 0.003116/0.3914, allocations: 162 kB / 0.585 GB, free: 23.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)