Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.457/1.457, allocations: 222.9 MB / 240 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 176.5 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05123/0.05123, allocations: 8.798 MB / 349.3 MB, free: 4.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 76.94 kB / 412.5 MB, free: 41.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.135, allocations: 51.57 MB / 464.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001942/0.137, allocations: 499.1 kB / 464.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.1372, allocations: 19.91 kB / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1372, allocations: 0 / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1373, allocations: 0 / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.1373, allocations: 3.938 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1374, allocations: 7.984 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.1375, allocations: 11.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.724e-05/0.1376, allocations: 7.984 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.1376, allocations: 4 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.1377, allocations: 7.984 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1377, allocations: 7.938 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.1377, allocations: 0 / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1377, allocations: 0 / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1378, allocations: 4 kB / 464.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.1378, allocations: 15.91 kB / 464.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1378, allocations: 0 / 464.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1379, allocations: 0 / 464.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1379, allocations: 0 / 464.7 MB, free: 13.08 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004075/0.1383, allocations: 323.5 kB / 465 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1383, allocations: 16.03 kB / 465 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1384, allocations: 0.9375 kB / 465 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1385, allocations: 160.4 kB / 465.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1385, allocations: 12.31 kB / 465.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1386, allocations: 384 / 465.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1387, allocations: 34.25 kB / 465.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1387, allocations: 192 / 465.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1387, allocations: 3.938 kB / 465.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1387, allocations: 0 / 465.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.1388, allocations: 8 kB / 465.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.139, allocations: 161.7 kB / 465.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.1391, allocations: 38.55 kB / 465.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.1391, allocations: 12.86 kB / 465.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1391, allocations: 0 / 465.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1392, allocations: 30.56 kB / 465.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1392, allocations: 3.938 kB / 465.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000165/0.1394, allocations: 61.62 kB / 465.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1394, allocations: 51.41 kB / 465.6 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.1395, allocations: 105.8 kB / 465.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1395, allocations: 25.7 kB / 465.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.1396, allocations: 80.14 kB / 465.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1396, allocations: 15.84 kB / 465.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1396, allocations: 9.719 kB / 465.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1398, allocations: 322.8 kB / 466.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.1398, allocations: 4 kB / 466.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.1398, allocations: 4 kB / 466.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.1399, allocations: 17.33 kB / 466.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1399, allocations: 0 / 466.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.635e-05/0.14, allocations: 53.67 kB / 466.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.14, allocations: 7.938 kB / 466.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.14, allocations: 3.938 kB / 466.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.14, allocations: 0 / 466.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1401, allocations: 19.92 kB / 466.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1401, allocations: 0 / 466.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1402, allocations: 7.906 kB / 466.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1402, allocations: 4 kB / 466.2 MB, free: 11.29 MB / 302.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 (4): * Single equations (assignments): 4 * 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 9.479e-05/0.1403, allocations: 113.8 kB / 466.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.1403, allocations: 0 / 466.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1403, allocations: 15.44 kB / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1403, allocations: 0 / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1403, allocations: 4 kB / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1403, allocations: 0 / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1405, allocations: 149.7 kB / 466.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1405, allocations: 4 kB / 466.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.1406, allocations: 11.98 kB / 466.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1406, allocations: 0 / 466.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1406, allocations: 7.938 kB / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1406, allocations: 0 / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1406, allocations: 0 / 466.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1407, allocations: 77.06 kB / 466.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.1408, allocations: 81.14 kB / 466.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1408, allocations: 11.94 kB / 466.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.1408, allocations: 0 / 466.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1409, allocations: 3.984 kB / 466.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1409, allocations: 4 kB / 466.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.705e-05/0.1409, allocations: 75.28 kB / 466.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1409, allocations: 0 / 466.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000168/0.1411, allocations: 4 kB / 466.8 MB, free: 10.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 8.071e-05/0.1412, allocations: 99.19 kB / 466.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.1413, allocations: 23.92 kB / 466.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1413, allocations: 0 / 466.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.1413, allocations: 8 kB / 466.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.1414, allocations: 4 kB / 466.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.1417, allocations: 117.7 kB / 467 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.142, allocations: 0.6768 MB / 467.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.142, allocations: 0 / 467.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.142, allocations: 11.44 kB / 467.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.142, allocations: 4 kB / 467.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Templates: time 0.002238/0.1443, allocations: 245.1 kB / 468 MB, free: 9.391 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)