Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008746/0.008746, allocations: 171.8 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09913/0.09913, allocations: 8.101 MB / 278.8 MB, free: 13.11 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005618, allocations: 15.94 kB / 338.9 MB, free: 26.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 49.28 MB / 388.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0005604/0.1286, allocations: 124.8 kB / 388.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.1287, allocations: 7.984 kB / 388.3 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.1288, allocations: 4 kB / 388.3 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1288, allocations: 3.938 kB / 388.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.1288, allocations: 0 / 388.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.129, allocations: 8 kB / 388.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.129, allocations: 0 / 388.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.1291, allocations: 4 kB / 388.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1291, allocations: 3.984 kB / 388.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.1292, allocations: 0 / 388.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1292, allocations: 0 / 388.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.1292, allocations: 0 / 388.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1293, allocations: 7.938 kB / 388.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1293, allocations: 37.62 kB / 388.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.066e-05/0.1294, allocations: 0 / 388.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1294, allocations: 0 / 388.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1294, allocations: 0 / 388.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1294, allocations: 0 / 388.3 MB, free: 9.152 MB / 286.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.0003694/0.1298, allocations: 311.6 kB / 388.6 MB, free: 8.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1298, allocations: 8.031 kB / 388.7 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1299, allocations: 0.9375 kB / 388.7 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.13, allocations: 164.4 kB / 388.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1301, allocations: 4.375 kB / 388.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1301, allocations: 384 / 388.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1302, allocations: 30.27 kB / 388.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1303, allocations: 4.125 kB / 388.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1303, allocations: 3.938 kB / 388.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.1303, allocations: 0 / 388.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.1303, allocations: 4 kB / 388.9 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1307, allocations: 155.3 kB / 389 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.1308, allocations: 18.58 kB / 389 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.1309, allocations: 8.953 kB / 389 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.1309, allocations: 0 / 389 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1309, allocations: 30.56 kB / 389.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 3.657e-06/0.1309, allocations: 0 / 389.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.1311, allocations: 45.56 kB / 389.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1311, allocations: 55.41 kB / 389.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1312, allocations: 93.98 kB / 389.3 MB, free: 8.043 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1312, allocations: 25.7 kB / 389.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.1313, allocations: 80.14 kB / 389.4 MB, free: 7.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1313, allocations: 3.906 kB / 389.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1314, allocations: 9.719 kB / 389.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.1316, allocations: 318.8 kB / 389.7 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.1316, allocations: 4 kB / 389.7 MB, free: 7.586 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.1317, allocations: 0 / 389.7 MB, free: 7.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.1317, allocations: 20.84 kB / 389.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1317, allocations: 0 / 389.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.533e-05/0.1318, allocations: 37.7 kB / 389.8 MB, free: 7.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1319, allocations: 4 kB / 389.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1319, allocations: 4 kB / 389.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1319, allocations: 7.938 kB / 389.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/0.1319, allocations: 0 / 389.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.132, allocations: 4 kB / 389.8 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.132, allocations: 0 / 389.8 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.132, allocations: 3.938 kB / 389.8 MB, free: 7.496 MB / 286.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 (2): * Single equations (assignments): 2 * 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.0001209/0.1321, allocations: 113.9 kB / 389.9 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1322, allocations: 4 kB / 389.9 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.1322, allocations: 7.062 kB / 389.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1322, allocations: 4 kB / 389.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1322, allocations: 0 / 389.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1322, allocations: 0 / 389.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1324, allocations: 149.7 kB / 390 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1324, allocations: 0 / 390 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1325, allocations: 7.938 kB / 390.1 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1325, allocations: 4 kB / 390.1 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1325, allocations: 3.938 kB / 390.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1325, allocations: 0 / 390.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1325, allocations: 0 / 390.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1327, allocations: 65.11 kB / 390.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1328, allocations: 77.11 kB / 390.2 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1328, allocations: 3.938 kB / 390.2 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.1328, allocations: 8.125 kB / 390.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1328, allocations: 0 / 390.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1328, allocations: 0 / 390.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.1329, allocations: 75.28 kB / 390.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1329, allocations: 0 / 390.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1332, allocations: 0 / 390.3 MB, free: 6.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.0001288/0.1333, allocations: 95.25 kB / 390.4 MB, free: 6.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.481e-05/0.1334, allocations: 19.86 kB / 390.4 MB, free: 6.762 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.1334, allocations: 4.062 kB / 390.4 MB, free: 6.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.1334, allocations: 4 kB / 390.4 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.1336, allocations: 0 / 390.4 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.1339, allocations: 104.6 kB / 390.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1343, allocations: 0.6731 MB / 391.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.1344, allocations: 0 / 391.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1344, allocations: 7.438 kB / 391.2 MB, free: 5.914 MB / 286.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1344, allocations: 4.062 kB / 391.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of Templates: time 0.002523/0.1369, allocations: 192.7 kB / 391.4 MB, free: 5.723 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile Environment - environmentSimulation: (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) Environment - environmentSimulation: