Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.526/1.526, allocations: 222.9 MB / 240 MB, free: 4.562 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.001465/0.001465, allocations: 188.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03514/0.03514, allocations: 8.795 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 76.83 kB / 412.5 MB, free: 41.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1338, allocations: 51.57 MB / 464.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003669/0.1375, allocations: 2.145 MB / 466.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1391, allocations: 0.9469 MB / 467.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1393, allocations: 3.938 kB / 467.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1396, allocations: 111.6 kB / 467.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.14, allocations: 107.4 kB / 467.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1403, allocations: 127.6 kB / 467.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.1406, allocations: 215.2 kB / 467.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1408, allocations: 55.62 kB / 467.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1409, allocations: 99.55 kB / 467.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1411, allocations: 107.6 kB / 468 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.1411, allocations: 12 kB / 468 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1412, allocations: 51.98 kB / 468.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.1413, allocations: 43.84 kB / 468.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.1414, allocations: 87.47 kB / 468.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1417, allocations: 227.2 kB / 468.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1417, allocations: 0 / 468.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1417, allocations: 4 kB / 468.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1418, allocations: 0 / 468.4 MB, free: 9.254 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007711/0.1425, allocations: 0.5042 MB / 468.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1426, allocations: 12.03 kB / 468.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.1427, allocations: 20.69 kB / 468.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.143, allocations: 252.9 kB / 469.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1431, allocations: 12.61 kB / 469.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.1431, allocations: 20.12 kB / 469.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1434, allocations: 115.5 kB / 469.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1434, allocations: 4 kB / 469.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1435, allocations: 4 kB / 469.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1435, allocations: 7.984 kB / 469.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1436, allocations: 68.67 kB / 469.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/0.1445, allocations: 0.5496 MB / 470 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1449, allocations: 102.7 kB / 470.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.145, allocations: 36.84 kB / 470.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.145, allocations: 4 kB / 470.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.1452, allocations: 101 kB / 470.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1452, allocations: 0 / 470.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000383/0.1456, allocations: 145.7 kB / 470.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.1457, allocations: 81.2 kB / 470.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.146, allocations: 268.1 kB / 470.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.146, allocations: 25.7 kB / 470.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1461, allocations: 151.6 kB / 470.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1462, allocations: 31.55 kB / 470.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.1462, allocations: 29.7 kB / 470.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1464, allocations: 334.8 kB / 471.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.1465, allocations: 23.98 kB / 471.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.1466, allocations: 76.14 kB / 471.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1468, allocations: 95.33 kB / 471.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1468, allocations: 4 kB / 471.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002327/0.147, allocations: 133.4 kB / 471.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.147, allocations: 4 kB / 471.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1471, allocations: 4.094 kB / 471.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1471, allocations: 4 kB / 471.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1472, allocations: 27.92 kB / 471.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1472, allocations: 0 / 471.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.1473, allocations: 15.91 kB / 471.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1474, allocations: 4 kB / 471.6 MB, free: 5.746 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001432/0.1475, allocations: 146.4 kB / 471.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1475, allocations: 15.81 kB / 471.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.1476, allocations: 25.39 kB / 471.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1476, allocations: 0 / 471.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1476, allocations: 0 / 471.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1476, allocations: 0 / 471.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.148, allocations: 245.4 kB / 472.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.148, allocations: 4 kB / 472.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.1481, allocations: 19.92 kB / 472.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1481, allocations: 0 / 472.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1481, allocations: 7.938 kB / 472.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1481, allocations: 0 / 472.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1481, allocations: 4 kB / 472.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1485, allocations: 188.8 kB / 472.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.1486, allocations: 92.91 kB / 472.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1486, allocations: 4 kB / 472.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1487, allocations: 4.094 kB / 472.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1487, allocations: 11.92 kB / 472.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1487, allocations: 4 kB / 472.4 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1489, allocations: 205.6 kB / 472.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.149, allocations: 0 / 472.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1492, allocations: 39.84 kB / 472.6 MB, free: 4.652 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001019/0.1502, allocations: 398.5 kB / 473 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1505, allocations: 83.78 kB / 473.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1505, allocations: 3.938 kB / 473.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.1506, allocations: 36.17 kB / 473.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1509, allocations: 53.25 kB / 473.2 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.1517, allocations: 412.4 kB / 473.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1521, allocations: 0.7319 MB / 474.3 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.1522, allocations: 25.53 kB / 474.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1522, allocations: 23.42 kB / 474.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1522, allocations: 0 / 474.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of Templates: time 0.005804/0.158, allocations: 2.084 MB / 476.5 MB, free: 0.9531 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)