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.0009644/0.0009644, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.227/1.227, allocations: 222.9 MB / 238.8 MB, free: 4.742 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.001136/0.001136, allocations: 192.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03214/0.03214, allocations: 8.788 MB / 348.1 MB, free: 4.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 73.42 kB / 410.4 MB, free: 42.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07934, allocations: 51.56 MB / 461.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003227/0.08261, allocations: 2.21 MB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.08404, allocations: 0.9354 MB / 465.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.08415, allocations: 0 / 465.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.0845, allocations: 99.67 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.08475, allocations: 91.62 kB / 465.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.08507, allocations: 115.1 kB / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.0853, allocations: 207.2 kB / 465.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.08545, allocations: 49.64 kB / 465.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.08557, allocations: 83.64 kB / 465.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.08572, allocations: 107.5 kB / 465.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.08576, allocations: 12 kB / 465.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.08586, allocations: 40 kB / 465.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.08594, allocations: 51.81 kB / 465.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.08604, allocations: 79.48 kB / 466 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.0863, allocations: 215.5 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.08631, allocations: 0 / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.08632, allocations: 0 / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.08632, allocations: 0 / 466.2 MB, free: 10.57 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.0006687/0.087, allocations: 0.5143 MB / 466.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.08703, allocations: 8.031 kB / 466.7 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.08709, allocations: 24.75 kB / 466.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.08733, allocations: 244.9 kB / 467 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.08736, allocations: 8.609 kB / 467 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.08739, allocations: 16.06 kB / 467 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.08762, allocations: 123.5 kB / 467.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.08764, allocations: 0 / 467.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.08766, allocations: 4 kB / 467.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.08768, allocations: 4 kB / 467.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.08783, allocations: 64.67 kB / 467.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.08857, allocations: 0.5535 MB / 467.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.08894, allocations: 110.7 kB / 467.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.08904, allocations: 32.84 kB / 467.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.08907, allocations: 0 / 467.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.08933, allocations: 105 kB / 468 MB, free: 8.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.08934, allocations: 3.984 kB / 468 MB, free: 8.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003535/0.0897, allocations: 145.7 kB / 468.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.08977, allocations: 77.11 kB / 468.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.09002, allocations: 260.3 kB / 468.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.09006, allocations: 33.64 kB / 468.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.09015, allocations: 147.6 kB / 468.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.09019, allocations: 39.55 kB / 468.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.09025, allocations: 25.72 kB / 468.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.09036, allocations: 338.8 kB / 469.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.09045, allocations: 27.98 kB / 469.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.09054, allocations: 74.69 kB / 469.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.09071, allocations: 95.33 kB / 469.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.09072, allocations: 0 / 469.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002446/0.09097, allocations: 133.4 kB / 469.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.091, allocations: 8 kB / 469.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.09101, allocations: 0 / 469.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.09102, allocations: 0 / 469.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.09113, allocations: 27.98 kB / 469.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.09115, allocations: 11.92 kB / 469.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.09124, allocations: 19.98 kB / 469.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.09126, allocations: 4 kB / 469.5 MB, free: 7.059 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.0001116/0.09137, allocations: 138.4 kB / 469.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.09141, allocations: 15.81 kB / 469.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.09146, allocations: 21.41 kB / 469.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.09147, allocations: 4 kB / 469.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09147, allocations: 0 / 469.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.09148, allocations: 3.984 kB / 469.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.09166, allocations: 245.4 kB / 469.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.09168, allocations: 4 kB / 469.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.09176, allocations: 15.94 kB / 469.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.09177, allocations: 0 / 469.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.09179, allocations: 4 kB / 469.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.09179, allocations: 0 / 469.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0918, allocations: 0 / 469.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.09212, allocations: 188.7 kB / 470.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.09218, allocations: 92.95 kB / 470.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.09222, allocations: 8.062 kB / 470.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.0923, allocations: 7.984 kB / 470.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.09234, allocations: 96 / 470.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.09237, allocations: 11.94 kB / 470.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.09256, allocations: 197.6 kB / 470.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09257, allocations: 0 / 470.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.09283, allocations: 39.84 kB / 470.4 MB, free: 5.984 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.0008631/0.0937, allocations: 408 kB / 470.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.09394, allocations: 83.84 kB / 470.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.09396, allocations: 0 / 470.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.09404, allocations: 35.92 kB / 471 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.09436, allocations: 39.3 kB / 471 MB, free: 5.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.09512, allocations: 490.2 kB / 471.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.09541, allocations: 0.7361 MB / 472.2 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.0955, allocations: 17.55 kB / 472.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.09554, allocations: 15.44 kB / 472.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09555, allocations: 0 / 472.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of Templates: time 0.004454/0.1, allocations: 2.007 MB / 474.2 MB, free: 2.301 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)