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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9981/0.9981, allocations: 177.2 MB / 201 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 156.6 kB / 257.7 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02445/0.02445, allocations: 6.656 MB / 320.9 MB, free: 11.45 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 4 kB / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.828e-05, allocations: 2.312 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002597/0.002615, allocations: 2.196 MB / 395.1 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003866, allocations: 1.063 MB / 396.1 MB, free: 88 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.003958, allocations: 4 kB / 396.1 MB, free: 84 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.00424, allocations: 115.6 kB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.004537, allocations: 147.2 kB / 396.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.004722, allocations: 107.5 kB / 396.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004933, allocations: 239 kB / 396.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.005033, allocations: 29.8 kB / 396.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.005149, allocations: 123.7 kB / 396.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.005266, allocations: 95.75 kB / 397 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.005291, allocations: 12 kB / 397 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.00537, allocations: 59.92 kB / 397 MB, free: 15.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.005423, allocations: 51.77 kB / 397.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.005472, allocations: 55.84 kB / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005671, allocations: 175.4 kB / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005673, allocations: 0 / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 5e-07/0.005673, allocations: 0 / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005677, allocations: 3.938 kB / 397.3 MB, free: 14.89 MB / 378.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.0004683/0.006145, allocations: 0.5463 MB / 397.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.006171, allocations: 8.031 kB / 397.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.006218, allocations: 36.8 kB / 397.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.006391, allocations: 188 kB / 398.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.006408, allocations: 12.55 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.006428, allocations: 12.38 kB / 398.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.00657, allocations: 134.5 kB / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006578, allocations: 3.938 kB / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006589, allocations: 4 kB / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.006595, allocations: 4 kB / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.006643, allocations: 28.67 kB / 398.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.007089, allocations: 482.5 kB / 398.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.007279, allocations: 91.17 kB / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.007307, allocations: 19.69 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.007317, allocations: 0 / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.007429, allocations: 130 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.00743, allocations: 0 / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000181/0.007611, allocations: 121.4 kB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.007645, allocations: 77.11 kB / 399.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.007794, allocations: 278.6 kB / 399.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.00781, allocations: 29.7 kB / 399.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.007894, allocations: 198.9 kB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.007915, allocations: 31.73 kB / 399.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.007951, allocations: 35.3 kB / 399.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.008069, allocations: 0.5079 MB / 400.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.008089, allocations: 8 kB / 400.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.008144, allocations: 99.97 kB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.008244, allocations: 74.7 kB / 400.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008246, allocations: 0 / 400.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001164/0.008362, allocations: 109.5 kB / 400.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.008373, allocations: 7.938 kB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.008377, allocations: 0 / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.008387, allocations: 4 kB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.008454, allocations: 31.92 kB / 400.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008457, allocations: 8.031 kB / 400.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.008504, allocations: 8 kB / 400.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.00851, allocations: 4 kB / 400.6 MB, free: 11.31 MB / 378.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 ($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 7.383e-05/0.008584, allocations: 164.6 kB / 400.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.008606, allocations: 23.86 kB / 400.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.008734, allocations: 115 kB / 400.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008738, allocations: 8 kB / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.008739, allocations: 0 / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008742, allocations: 0 / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.008852, allocations: 153.1 kB / 401.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.008853, allocations: 0 / 401.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.008902, allocations: 16 kB / 401.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.008903, allocations: 0 / 401.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008911, allocations: 7.984 kB / 401.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008912, allocations: 0 / 401.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.008914, allocations: 3.938 kB / 401.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.00906, allocations: 164.1 kB / 401.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.009077, allocations: 15.91 kB / 401.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.009097, allocations: 4 kB / 401.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.00914, allocations: 8.031 kB / 401.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.009164, allocations: 11.92 kB / 401.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.009174, allocations: 4 kB / 401.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.009255, allocations: 193.5 kB / 401.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009255, allocations: 0 / 401.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.00942, allocations: 43.89 kB / 401.5 MB, free: 10.32 MB / 378.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 (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.0007302/0.01015, allocations: 385.9 kB / 401.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.01025, allocations: 59.58 kB / 402 MB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01026, allocations: 4 kB / 402 MB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.01029, allocations: 31.61 kB / 402 MB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.01046, allocations: 32.47 kB / 402 MB, free: 9.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.01101, allocations: 378 kB / 402.4 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01105, allocations: 87.75 kB / 402.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.01111, allocations: 25.45 kB / 402.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.01118, allocations: 98.17 kB / 402.6 MB, free: 9.27 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01118, allocations: 3.938 kB / 402.6 MB, free: 9.266 MB / 378.7 MB Notification: Performance of Templates: time 0.004326/0.01551, allocations: 2.379 MB / 405 MB, free: 6.922 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.911029915791005]