Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 175.3 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04032/0.04032, allocations: 8.769 MB / 25.64 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 233.9 MB, free: 12.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008931, allocations: 98.28 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 12 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2398, allocations: 49.7 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09696/0.3368, allocations: 80.9 MB / 475.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.337, allocations: 71.97 kB / 475.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.3599, allocations: 7.469 MB / 482.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.36, allocations: 0 / 482.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.36, allocations: 8 kB / 483 MB, free: 12.18 MB / 362.7 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.001204/0.3612, allocations: 0.4988 MB / 483.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3613, allocations: 8.031 kB / 483.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.3614, allocations: 24.66 kB / 483.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.362, allocations: 253.1 kB / 483.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.362, allocations: 8.609 kB / 483.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.3621, allocations: 16.28 kB / 483.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.3625, allocations: 142.9 kB / 483.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3625, allocations: 192 / 483.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3626, allocations: 15.94 kB / 483.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3626, allocations: 0 / 483.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.3629, allocations: 76.66 kB / 484 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3643, allocations: 0.5689 MB / 484.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.3649, allocations: 114.6 kB / 484.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3651, allocations: 32.84 kB / 484.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3651, allocations: 0 / 484.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3655, allocations: 113.2 kB / 484.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.265e-06/0.3655, allocations: 0 / 484.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006081/0.3661, allocations: 149.4 kB / 485 MB, free: 9.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.3662, allocations: 106.8 kB / 485.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.3667, allocations: 269 kB / 485.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.3668, allocations: 29.7 kB / 485.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.367, allocations: 148.1 kB / 485.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.367, allocations: 31.55 kB / 485.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.3671, allocations: 0 / 485.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3673, allocations: 326.8 kB / 485.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3674, allocations: 35.92 kB / 485.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3676, allocations: 73.06 kB / 486 MB, free: 8.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.368, allocations: 99.33 kB / 486 MB, free: 8.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.368, allocations: 0 / 486 MB, free: 8.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004709/0.3685, allocations: 149.2 kB / 486.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3685, allocations: 4 kB / 486.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3685, allocations: 96 / 486.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3686, allocations: 8 kB / 486.2 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3688, allocations: 23.98 kB / 486.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3688, allocations: 0 / 486.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.369, allocations: 19.83 kB / 486.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.369, allocations: 8 kB / 486.3 MB, free: 8.578 MB / 362.7 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 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.3692, allocations: 137.8 kB / 486.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3693, allocations: 27.73 kB / 486.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.3698, allocations: 131.4 kB / 486.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3698, allocations: 4 kB / 486.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3698, allocations: 3.984 kB / 486.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3699, allocations: 3.938 kB / 486.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.3702, allocations: 253.4 kB / 486.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3702, allocations: 3.938 kB / 486.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3704, allocations: 19.98 kB / 486.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3704, allocations: 0 / 486.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3705, allocations: 4 kB / 486.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3705, allocations: 0 / 486.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3705, allocations: 4 kB / 486.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3711, allocations: 184.9 kB / 487 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3713, allocations: 112.8 kB / 487.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.3713, allocations: 0 / 487.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3715, allocations: 15.94 kB / 487.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3716, allocations: 15.91 kB / 487.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3716, allocations: 4.062 kB / 487.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003294/0.372, allocations: 200.5 kB / 487.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.372, allocations: 0 / 487.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.3725, allocations: 63.83 kB / 487.4 MB, free: 7.312 MB / 362.7 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.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/0.3742, allocations: 455.3 kB / 487.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.3746, allocations: 83.91 kB / 487.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3746, allocations: 4 kB / 488 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3748, allocations: 39.92 kB / 488 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3753, allocations: 36.34 kB / 488 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3767, allocations: 0.5103 MB / 488.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3771, allocations: 0.74 MB / 489.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.3773, allocations: 29.33 kB / 489.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.3774, allocations: 23.42 kB / 489.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3774, allocations: 0 / 489.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of Templates: time 0.01053/0.388, allocations: 2.415 MB / 491.7 MB, free: 2.938 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)