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.00108/0.001079, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001314/0.001314, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7969/0.7969, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.39 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00168/0.1326, allocations: 0.578 MB / 0.6609 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.993e-05/0.1326, allocations: 0 / 0.6609 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1327, allocations: 0 / 0.6609 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.1327, allocations: 3.938 kB / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1327, allocations: 0 / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.54e-05/0.1328, allocations: 4 kB / 0.6609 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.1328, allocations: 4 kB / 0.6609 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.1329, allocations: 0 / 0.6609 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.1329, allocations: 4 kB / 0.6609 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.1329, allocations: 7.922 kB / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1329, allocations: 0 / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-06/0.1329, allocations: 0 / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1329, allocations: 0 / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.133, allocations: 3.984 kB / 0.6609 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.588e-05/0.133, allocations: 4 kB / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.133, allocations: 0 / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.133, allocations: 7.938 kB / 0.6609 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1331, allocations: 0 / 0.6609 GB, free: 9.684 MB / 0.4981 GB 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.0002488/0.1333, allocations: 307.6 kB / 0.6612 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1333, allocations: 8.031 kB / 0.6612 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.1334, allocations: 0.9375 kB / 0.6612 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.1335, allocations: 166.9 kB / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1335, allocations: 384 / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1335, allocations: 4.375 kB / 0.6614 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.383e-05/0.1336, allocations: 34.2 kB / 0.6614 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1336, allocations: 4.188 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1336, allocations: 3.938 kB / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1336, allocations: 0 / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.1336, allocations: 0 / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.1338, allocations: 145.7 kB / 0.6615 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.1338, allocations: 22.56 kB / 0.6616 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.1338, allocations: 8.953 kB / 0.6616 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1339, allocations: 4 kB / 0.6616 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1339, allocations: 30.56 kB / 0.6616 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1339, allocations: 7.875 kB / 0.6616 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.134, allocations: 33.64 kB / 0.6616 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.134, allocations: 55.41 kB / 0.6617 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.169e-05/0.1341, allocations: 89.86 kB / 0.6618 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1341, allocations: 25.7 kB / 0.6618 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.1341, allocations: 84.27 kB / 0.6619 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1342, allocations: 4 kB / 0.6619 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1342, allocations: 13.7 kB / 0.6619 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1343, allocations: 315.2 kB / 0.6622 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1343, allocations: 0 / 0.6622 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.1343, allocations: 4 kB / 0.6622 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.1344, allocations: 12.8 kB / 0.6622 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1344, allocations: 0 / 0.6622 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.019e-05/0.1344, allocations: 37.77 kB / 0.6623 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1345, allocations: 5.719 kB / 0.6623 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1345, allocations: 4 kB / 0.6623 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1345, allocations: 3.938 kB / 0.6623 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.1345, allocations: 0 / 0.6623 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1345, allocations: 0 / 0.6623 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.1346, allocations: 3.984 kB / 0.6623 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1346, allocations: 0 / 0.6623 GB, free: 8.051 MB / 0.4981 GB 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.08e-05/0.1346, allocations: 109.8 kB / 0.6624 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.1346, allocations: 8.016 kB / 0.6624 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.1347, allocations: 7.062 kB / 0.6624 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1347, allocations: 3.938 kB / 0.6624 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1347, allocations: 0 / 0.6624 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1347, allocations: 0 / 0.6624 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.885e-05/0.1348, allocations: 157.6 kB / 0.6626 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1348, allocations: 0 / 0.6626 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.1348, allocations: 3.938 kB / 0.6626 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1348, allocations: 0 / 0.6626 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1348, allocations: 3.938 kB / 0.6626 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1348, allocations: 0 / 0.6626 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1348, allocations: 8 kB / 0.6626 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.297e-05/0.1349, allocations: 49.14 kB / 0.6626 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.1349, allocations: 85 kB / 0.6627 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.135, allocations: 11.88 kB / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.135, allocations: 0 / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.135, allocations: 4 kB / 0.6627 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.135, allocations: 0 / 0.6627 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.135, allocations: 79.31 kB / 0.6628 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.135, allocations: 0 / 0.6628 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001808/0.1352, allocations: 0 / 0.6628 GB, free: 7.43 MB / 0.4981 GB 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 9.092e-05/0.1353, allocations: 95.25 kB / 0.6629 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.222e-05/0.1354, allocations: 7.938 kB / 0.6629 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1354, allocations: 0 / 0.6629 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.1354, allocations: 4 kB / 0.6629 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1355, allocations: 7 kB / 0.6629 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.1357, allocations: 110.6 kB / 0.663 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.136, allocations: 0.6729 MB / 0.6637 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.136, allocations: 7.438 kB / 0.6637 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.136, allocations: 0 / 0.6637 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.001325/0.1373, allocations: 319.9 kB / 0.664 GB, free: 6.148 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)