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.001471/0.001471, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.603/1.603, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.001803/0.001803, allocations: 218 kB / 309.2 MB, free: 3.148 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.04168/0.04168, allocations: 8.912 MB / 374.6 MB, free: 1.91 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.002618/0.002618, allocations: 79.88 kB / 0.4897 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3347, allocations: 55.61 MB / 0.544 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004431/0.3391, allocations: 4.047 MB / 0.5479 GB, free: 24.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.3418, allocations: 1.659 MB / 0.5496 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.3424, allocations: 9.5 kB / 0.5496 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3441, allocations: 0.7757 MB / 0.5503 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009646/0.3451, allocations: 392.8 kB / 0.5507 GB, free: 22.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3461, allocations: 0.6196 MB / 0.5513 GB, free: 22.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.3466, allocations: 0.5417 MB / 0.5518 GB, free: 21.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.3472, allocations: 459.3 kB / 0.5523 GB, free: 21.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3475, allocations: 255.4 kB / 0.5525 GB, free: 21.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.3477, allocations: 307.4 kB / 0.5528 GB, free: 21.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.3478, allocations: 56.28 kB / 0.5529 GB, free: 21.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.3482, allocations: 225.1 kB / 0.5531 GB, free: 21.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.3482, allocations: 136.2 kB / 0.5532 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3484, allocations: 268.7 kB / 0.5535 GB, free: 20.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.3492, allocations: 0.8187 MB / 0.5543 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3492, allocations: 0 / 0.5543 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3492, allocations: 0 / 0.5543 GB, free: 20.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3492, allocations: 2.625 kB / 0.5543 GB, free: 20.5 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.001751/0.351, allocations: 0.8806 MB / 0.5551 GB, free: 19.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.351, allocations: 8.969 kB / 0.5551 GB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.3536, allocations: 385.2 kB / 0.5555 GB, free: 19.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.3541, allocations: 303.7 kB / 0.5558 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3541, allocations: 49.69 kB / 0.5558 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.3542, allocations: 64.41 kB / 0.5559 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.3551, allocations: 0.6245 MB / 0.5565 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.3551, allocations: 6.469 kB / 0.5565 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.3552, allocations: 23.12 kB / 0.5565 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3552, allocations: 15.59 kB / 0.5565 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.3561, allocations: 0.5833 MB / 0.5571 GB, free: 19.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.3588, allocations: 2 MB / 0.5591 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3599, allocations: 486.2 kB / 0.5595 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.3602, allocations: 171 kB / 0.5597 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-05/0.3603, allocations: 26.45 kB / 0.5597 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3604, allocations: 38.7 kB / 0.5598 GB, free: 17.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.3604, allocations: 3.938 kB / 0.5598 GB, free: 17.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001487/0.3618, allocations: 0.6102 MB / 0.5604 GB, free: 17.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3619, allocations: 55.38 kB / 0.5604 GB, free: 17.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3621, allocations: 270.8 kB / 0.5607 GB, free: 17.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3621, allocations: 33.7 kB / 0.5607 GB, free: 17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3622, allocations: 250.6 kB / 0.5609 GB, free: 16.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.3623, allocations: 161.7 kB / 0.5611 GB, free: 16.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3624, allocations: 86.03 kB / 0.5612 GB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.3625, allocations: 343.7 kB / 0.5615 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3628, allocations: 148.8 kB / 0.5616 GB, free: 16.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3631, allocations: 259.9 kB / 0.5619 GB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.3638, allocations: 437.5 kB / 0.5623 GB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3638, allocations: 3.156 kB / 0.5623 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009934/0.3648, allocations: 0.5257 MB / 0.5628 GB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3648, allocations: 8.188 kB / 0.5628 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3648, allocations: 7.328 kB / 0.5628 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.365, allocations: 59.89 kB / 0.5629 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3655, allocations: 97.52 kB / 0.563 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.3666, allocations: 1.658 MB / 0.5646 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.3669, allocations: 58.78 kB / 0.5647 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.367, allocations: 26.55 kB / 0.5647 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003823/0.3673, allocations: 269 kB / 0.5649 GB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003212/0.3677, allocations: 249 kB / 0.5652 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005667/0.3682, allocations: 424.9 kB / 0.5656 GB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.3682, allocations: 3.125 kB / 0.5656 GB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008357/0.3691, allocations: 0.5086 MB / 0.5661 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3691, allocations: 12.86 kB / 0.5661 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3691, allocations: 2.906 kB / 0.5661 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3692, allocations: 59.7 kB / 0.5662 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.3696, allocations: 98.11 kB / 0.5663 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.3706, allocations: 1.653 MB / 0.5679 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3709, allocations: 39.25 kB / 0.5679 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.3709, allocations: 20.92 kB / 0.5679 GB, free: 11.46 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.0001218/0.3711, allocations: 211 kB / 0.5681 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.3711, allocations: 40.72 kB / 0.5682 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.3723, allocations: 0.4969 MB / 0.5687 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3723, allocations: 9.344 kB / 0.5687 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3723, allocations: 4.688 kB / 0.5687 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3723, allocations: 4.297 kB / 0.5687 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.374, allocations: 1.059 MB / 0.5697 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.374, allocations: 0 / 0.5697 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3743, allocations: 80.48 kB / 0.5698 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.3745, allocations: 55.33 kB / 0.5698 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3745, allocations: 13.27 kB / 0.5698 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3756, allocations: 1.657 MB / 0.5715 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3756, allocations: 0 / 0.5715 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.3769, allocations: 0.7516 MB / 0.5722 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.377, allocations: 75.56 kB / 0.5723 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.3771, allocations: 10.09 kB / 0.5723 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3773, allocations: 16.91 kB / 0.5723 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.3774, allocations: 33.69 kB / 0.5723 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.3774, allocations: 15.09 kB / 0.5723 GB, free: 8.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.3776, allocations: 196.8 kB / 0.5725 GB, free: 8.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3776, allocations: 0 / 0.5725 GB, free: 8.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008594/0.3785, allocations: 237.9 kB / 0.5728 GB, free: 8.156 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.0002115/0.3787, allocations: 141.8 kB / 0.5729 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.3803, allocations: 0.8369 MB / 0.5737 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3803, allocations: 0 / 0.5737 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.3808, allocations: 328.1 kB / 0.574 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3812, allocations: 40.33 kB / 0.5741 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3827, allocations: 0.8691 MB / 0.5749 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.383, allocations: 0.8222 MB / 0.5757 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.3832, allocations: 76.06 kB / 0.5758 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3834, allocations: 39.66 kB / 0.5758 GB, free: 6.141 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3834, allocations: 0 / 0.5758 GB, free: 6.141 MB / 382.1 MB Notification: Performance of Templates: time 0.01114/0.3945, allocations: 5.238 MB / 0.5809 GB, free: 4.438 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.513251496013254] Failed to read output from testmodel.py, exit status != 0: 0.40307152504101396 0.416208889 0.063716409 Calling exit ...