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.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.001722/0.001722, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.611/1.611, allocations: 230.6 MB / 252.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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.002274/0.002274, allocations: 216.7 kB / 309.2 MB, free: 2.938 MB / 238.1 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.04487/0.04487, allocations: 8.919 MB / 374.6 MB, free: 1.719 MB / 302.1 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.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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 87.88 kB / 0.4896 GB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4087, allocations: 55.6 MB / 0.5439 GB, free: 26.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004907/0.4136, allocations: 3.682 MB / 0.5475 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.4163, allocations: 1.538 MB / 0.549 GB, free: 23.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.4166, allocations: 13.47 kB / 0.549 GB, free: 23.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.4183, allocations: 0.716 MB / 0.5497 GB, free: 23.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.4194, allocations: 367.3 kB / 0.5501 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.4206, allocations: 0.5822 MB / 0.5506 GB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006576/0.4212, allocations: 0.5417 MB / 0.5512 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.4219, allocations: 458.3 kB / 0.5516 GB, free: 21.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.4223, allocations: 256 kB / 0.5519 GB, free: 21.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.4226, allocations: 264.3 kB / 0.5521 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.4226, allocations: 54.19 kB / 0.5522 GB, free: 21.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.4231, allocations: 225 kB / 0.5524 GB, free: 21.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.4232, allocations: 125.9 kB / 0.5525 GB, free: 21.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.4233, allocations: 220.3 kB / 0.5527 GB, free: 21.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008442/0.4242, allocations: 0.8184 MB / 0.5535 GB, free: 21.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4242, allocations: 0 / 0.5535 GB, free: 21.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4242, allocations: 0 / 0.5535 GB, free: 21.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4242, allocations: 6.938 kB / 0.5535 GB, free: 21.1 MB / 382.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.001847/0.4261, allocations: 0.8726 MB / 0.5544 GB, free: 20.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4261, allocations: 12.47 kB / 0.5544 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.4286, allocations: 388.7 kB / 0.5547 GB, free: 20.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.4293, allocations: 302.8 kB / 0.555 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.4293, allocations: 49.78 kB / 0.5551 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.4294, allocations: 63.55 kB / 0.5551 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4305, allocations: 0.6768 MB / 0.5558 GB, free: 19.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.4305, allocations: 0 / 0.5558 GB, free: 19.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.4305, allocations: 26.78 kB / 0.5558 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4306, allocations: 13.19 kB / 0.5558 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4316, allocations: 0.5701 MB / 0.5564 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.4343, allocations: 1.763 MB / 0.5581 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4354, allocations: 471.9 kB / 0.5586 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.4357, allocations: 173.4 kB / 0.5587 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-05/0.4358, allocations: 17.39 kB / 0.5587 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4358, allocations: 38.45 kB / 0.5588 GB, free: 18.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/0.4358, allocations: 4 kB / 0.5588 GB, free: 18.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001582/0.4374, allocations: 0.5966 MB / 0.5594 GB, free: 17.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4374, allocations: 58.22 kB / 0.5594 GB, free: 17.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.4376, allocations: 204.3 kB / 0.5596 GB, free: 17.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4376, allocations: 30.92 kB / 0.5597 GB, free: 17.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4378, allocations: 262.5 kB / 0.5599 GB, free: 17.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.4379, allocations: 158.3 kB / 0.5601 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.438, allocations: 93.38 kB / 0.5601 GB, free: 17.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.4381, allocations: 332.9 kB / 0.5605 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4384, allocations: 155.6 kB / 0.5606 GB, free: 16.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.4388, allocations: 258.8 kB / 0.5609 GB, free: 16.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.4395, allocations: 440.7 kB / 0.5613 GB, free: 16.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.4395, allocations: 0 / 0.5613 GB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009719/0.4404, allocations: 0.5182 MB / 0.5618 GB, free: 16.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4405, allocations: 10.41 kB / 0.5618 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4405, allocations: 4.516 kB / 0.5618 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.4408, allocations: 54.95 kB / 0.5618 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.4412, allocations: 98.2 kB / 0.5619 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.4426, allocations: 1.634 MB / 0.5635 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.4429, allocations: 46.22 kB / 0.5636 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4429, allocations: 21.14 kB / 0.5636 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004484/0.4434, allocations: 267.2 kB / 0.5639 GB, free: 14.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003382/0.4437, allocations: 248.6 kB / 0.5641 GB, free: 14.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006191/0.4443, allocations: 425.9 kB / 0.5645 GB, free: 14.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.768e-06/0.4443, allocations: 11.05 kB / 0.5645 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001074/0.4454, allocations: 0.5014 MB / 0.565 GB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4454, allocations: 11.42 kB / 0.565 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4454, allocations: 3.531 kB / 0.565 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.4456, allocations: 63.94 kB / 0.5651 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.446, allocations: 96.39 kB / 0.5652 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.4473, allocations: 1.628 MB / 0.5668 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4476, allocations: 47.16 kB / 0.5668 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.4477, allocations: 20.58 kB / 0.5668 GB, free: 12.23 MB / 382.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.0001982/0.4479, allocations: 207.8 kB / 0.567 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.4479, allocations: 24.77 kB / 0.567 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.4492, allocations: 0.5032 MB / 0.5675 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.4492, allocations: 4.969 kB / 0.5675 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4492, allocations: 4.797 kB / 0.5675 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4492, allocations: 2.875 kB / 0.5675 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4509, allocations: 0.9208 MB / 0.5684 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4509, allocations: 0 / 0.5684 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.4513, allocations: 83.66 kB / 0.5685 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.4515, allocations: 52.77 kB / 0.5686 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.4515, allocations: 16.95 kB / 0.5686 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.4528, allocations: 1.616 MB / 0.5702 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4528, allocations: 1.219 kB / 0.5702 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4543, allocations: 0.7439 MB / 0.5709 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.4545, allocations: 65.3 kB / 0.571 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.4545, allocations: 10.84 kB / 0.571 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4547, allocations: 17.3 kB / 0.571 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.4549, allocations: 33.39 kB / 0.571 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.4549, allocations: 18.47 kB / 0.571 GB, free: 9.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.455, allocations: 140.7 kB / 0.5712 GB, free: 9.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.455, allocations: 0 / 0.5712 GB, free: 9.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4562, allocations: 255.3 kB / 0.5714 GB, free: 9.078 MB / 382.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.0003425/0.4566, allocations: 142.6 kB / 0.5716 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4586, allocations: 0.8452 MB / 0.5724 GB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4586, allocations: 0 / 0.5724 GB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.4592, allocations: 315.7 kB / 0.5727 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4596, allocations: 43.39 kB / 0.5727 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4613, allocations: 0.8581 MB / 0.5736 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.4616, allocations: 219 kB / 0.5738 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.4619, allocations: 71.31 kB / 0.5738 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.462, allocations: 36.75 kB / 0.5739 GB, free: 7.684 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.462, allocations: 0 / 0.5739 GB, free: 7.684 MB / 382.1 MB Notification: Performance of Templates: time 0.01192/0.4739, allocations: 4.93 MB / 0.5787 GB, free: 6.234 MB / 382.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: 5.851434605196118] Failed to read output from testmodel.py, exit status != 0: 0.4825367033481598 0.49562226099999995 0.06824761900000001 Calling exit ...