Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 188.6 kB / 295 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0397/0.0397, allocations: 8.795 MB / 356 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] 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.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 83.88 kB / 473.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3218, allocations: 51.55 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005707/0.3276, allocations: 3.987 MB / 0.5164 GB, free: 9.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.3307, allocations: 1.573 MB / 0.518 GB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.3309, allocations: 12 kB / 0.518 GB, free: 7.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3329, allocations: 0.7805 MB / 0.5187 GB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3341, allocations: 0.5169 MB / 0.5193 GB, free: 6.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.3351, allocations: 488.7 kB / 0.5197 GB, free: 5.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.3358, allocations: 0.5436 MB / 0.5202 GB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.3366, allocations: 0.5035 MB / 0.5207 GB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.337, allocations: 243.1 kB / 0.521 GB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004448/0.3374, allocations: 298.9 kB / 0.5213 GB, free: 4.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.3375, allocations: 56 kB / 0.5213 GB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.338, allocations: 227.7 kB / 0.5215 GB, free: 3.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3381, allocations: 123.6 kB / 0.5216 GB, free: 3.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.3384, allocations: 274.7 kB / 0.5219 GB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3394, allocations: 0.7977 MB / 0.5227 GB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3394, allocations: 7.938 kB / 0.5227 GB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3394, allocations: 0 / 0.5227 GB, free: 2.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3395, allocations: 0 / 0.5227 GB, free: 2.688 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002177/0.3416, allocations: 0.9586 MB / 0.5236 GB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3417, allocations: 12.03 kB / 0.5236 GB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.3444, allocations: 400.2 kB / 0.524 GB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.345, allocations: 367.7 kB / 0.5244 GB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.3451, allocations: 45.69 kB / 0.5244 GB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3452, allocations: 63.88 kB / 0.5245 GB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3464, allocations: 0.6237 MB / 0.5251 GB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.3464, allocations: 4 kB / 0.5251 GB, free: 136 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.3465, allocations: 20 kB / 0.5251 GB, free: 116 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3465, allocations: 16 kB / 0.5251 GB, free: 100 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3477, allocations: 0.579 MB / 0.5257 GB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.3509, allocations: 2.158 MB / 0.5278 GB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.3526, allocations: 1.187 MB / 0.529 GB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.353, allocations: 188.8 kB / 0.5291 GB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3532, allocations: 97.39 kB / 0.5292 GB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.3532, allocations: 34.56 kB / 0.5293 GB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.925e-06/0.3532, allocations: 0 / 0.5293 GB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001741/0.355, allocations: 0.6864 MB / 0.5299 GB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.355, allocations: 55.41 kB / 0.53 GB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.3554, allocations: 274.6 kB / 0.5302 GB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3554, allocations: 29.7 kB / 0.5303 GB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3556, allocations: 252.9 kB / 0.5305 GB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3557, allocations: 158.6 kB / 0.5307 GB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3559, allocations: 90.2 kB / 0.5308 GB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3561, allocations: 342.8 kB / 0.5311 GB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.3564, allocations: 151 kB / 0.5312 GB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.3569, allocations: 257.9 kB / 0.5315 GB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.3577, allocations: 429.8 kB / 0.5319 GB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3578, allocations: 0 / 0.5319 GB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001073/0.3588, allocations: 0.5333 MB / 0.5324 GB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3589, allocations: 7.938 kB / 0.5324 GB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3589, allocations: 4 kB / 0.5324 GB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.3592, allocations: 61.23 kB / 0.5325 GB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.3596, allocations: 95.83 kB / 0.5326 GB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.3614, allocations: 1.759 MB / 0.5343 GB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3618, allocations: 59.55 kB / 0.5343 GB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3618, allocations: 27.88 kB / 0.5344 GB, free: 5.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004641/0.3623, allocations: 277.2 kB / 0.5346 GB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004047/0.3627, allocations: 253.6 kB / 0.5349 GB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007306/0.3634, allocations: 419.6 kB / 0.5353 GB, free: 4.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.3634, allocations: 4 kB / 0.5353 GB, free: 4.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009821/0.3644, allocations: 0.513 MB / 0.5358 GB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3645, allocations: 10.28 kB / 0.5358 GB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3645, allocations: 4.406 kB / 0.5358 GB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.3646, allocations: 60.77 kB / 0.5359 GB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.365, allocations: 91.89 kB / 0.5359 GB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.3667, allocations: 1.779 MB / 0.5377 GB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.367, allocations: 39.77 kB / 0.5377 GB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3671, allocations: 20 kB / 0.5377 GB, free: 2.285 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.3673, allocations: 212.1 kB / 0.5379 GB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3674, allocations: 31.75 kB / 0.538 GB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3685, allocations: 0.5045 MB / 0.5385 GB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3685, allocations: 4 kB / 0.5385 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3685, allocations: 4 kB / 0.5385 GB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3685, allocations: 0 / 0.5385 GB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3703, allocations: 1.088 MB / 0.5395 GB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3704, allocations: 0 / 0.5395 GB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.3707, allocations: 79.89 kB / 0.5396 GB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.3709, allocations: 44.83 kB / 0.5396 GB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.3709, allocations: 15.98 kB / 0.5397 GB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.3726, allocations: 1.767 MB / 0.5414 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3727, allocations: 0 / 0.5414 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3741, allocations: 0.7503 MB / 0.5421 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.3743, allocations: 152.7 kB / 0.5423 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3743, allocations: 8 kB / 0.5423 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3746, allocations: 23.92 kB / 0.5423 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.3747, allocations: 32.39 kB / 0.5423 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3747, allocations: 12 kB / 0.5423 GB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3749, allocations: 198 kB / 0.5425 GB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.375, allocations: 4.062 kB / 0.5425 GB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009055/0.3759, allocations: 235.4 kB / 0.5428 GB, free: 12.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002766/0.3761, allocations: 135 kB / 0.5429 GB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3779, allocations: 0.8831 MB / 0.5437 GB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.378, allocations: 4 kB / 0.5438 GB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.3785, allocations: 341.7 kB / 0.5441 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3789, allocations: 44.55 kB / 0.5441 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3805, allocations: 0.896 MB / 0.545 GB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.381, allocations: 0.821 MB / 0.5458 GB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3812, allocations: 43.42 kB / 0.5458 GB, free: 9.621 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3812, allocations: 0 / 0.5458 GB, free: 9.621 MB / 366.1 MB Notification: Performance of Templates: time 0.0108/0.392, allocations: 7.293 MB / 0.553 GB, free: 2.332 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & ./HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7283045740332454] Failed to read output from testmodel.py, exit status != 0: 0.39936697110533714 0.41213343500000005 0.070207592 Calling exit ...