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.001439/0.001439, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.461/1.461, allocations: 177.2 MB / 200.1 MB, free: 9.012 MB / 190.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.001544/0.001544, allocations: 165.4 kB / 256.6 MB, free: 0.7422 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.03977/0.03977, allocations: 6.671 MB / 319.6 MB, free: 12.05 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.002565/0.002565, allocations: 84.25 kB / 446.4 MB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3233, allocations: 55.57 MB / 0.4902 GB, free: 76.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004521/0.3278, allocations: 3.687 MB / 0.4938 GB, free: 73.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.3302, allocations: 1.532 MB / 0.4953 GB, free: 72.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.3304, allocations: 13.25 kB / 0.4953 GB, free: 72.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.332, allocations: 0.7594 MB / 0.4961 GB, free: 72.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007794/0.3327, allocations: 369.1 kB / 0.4964 GB, free: 72.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.3337, allocations: 0.5861 MB / 0.497 GB, free: 71.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.3342, allocations: 0.5467 MB / 0.4975 GB, free: 71.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.3347, allocations: 460.7 kB / 0.498 GB, free: 71.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.335, allocations: 257.5 kB / 0.4982 GB, free: 71.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3353, allocations: 254 kB / 0.4985 GB, free: 71.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.3353, allocations: 56.94 kB / 0.4985 GB, free: 71.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.3357, allocations: 224.4 kB / 0.4987 GB, free: 70.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.3357, allocations: 127 kB / 0.4988 GB, free: 70.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3359, allocations: 224.8 kB / 0.4991 GB, free: 70.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.3366, allocations: 0.8143 MB / 0.4999 GB, free: 70.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3366, allocations: 4 kB / 0.4999 GB, free: 70.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3366, allocations: 0 / 0.4999 GB, free: 70.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.3366, allocations: 3.938 kB / 0.4999 GB, free: 70.4 MB / 446.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.001732/0.3383, allocations: 0.8732 MB / 0.5007 GB, free: 69.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3383, allocations: 9.625 kB / 0.5007 GB, free: 69.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.341, allocations: 394.7 kB / 0.5011 GB, free: 69.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3415, allocations: 299 kB / 0.5014 GB, free: 69.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3416, allocations: 43.88 kB / 0.5014 GB, free: 69.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.3416, allocations: 60.53 kB / 0.5015 GB, free: 69.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.3426, allocations: 0.686 MB / 0.5022 GB, free: 69.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3426, allocations: 3.984 kB / 0.5022 GB, free: 69.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.3427, allocations: 26.16 kB / 0.5022 GB, free: 69.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3427, allocations: 12.5 kB / 0.5022 GB, free: 69.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.3436, allocations: 0.5697 MB / 0.5028 GB, free: 68.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.346, allocations: 1.757 MB / 0.5045 GB, free: 67.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3471, allocations: 476.1 kB / 0.5049 GB, free: 67.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.3475, allocations: 172.1 kB / 0.5051 GB, free: 67.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/0.3476, allocations: 23.66 kB / 0.5051 GB, free: 67.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3476, allocations: 37.72 kB / 0.5051 GB, free: 67.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.3476, allocations: 0 / 0.5051 GB, free: 67.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.00151/0.3492, allocations: 0.5972 MB / 0.5057 GB, free: 67.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.3492, allocations: 61.36 kB / 0.5058 GB, free: 67.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3493, allocations: 204.2 kB / 0.506 GB, free: 67.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3494, allocations: 29.7 kB / 0.506 GB, free: 66.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.3495, allocations: 268.8 kB / 0.5063 GB, free: 66.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.3495, allocations: 155.2 kB / 0.5064 GB, free: 66.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3496, allocations: 85.2 kB / 0.5065 GB, free: 66.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.3497, allocations: 335.3 kB / 0.5068 GB, free: 66.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.35, allocations: 158.6 kB / 0.507 GB, free: 66.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.3503, allocations: 252.5 kB / 0.5072 GB, free: 66.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.351, allocations: 440.8 kB / 0.5076 GB, free: 65.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.351, allocations: 0 / 0.5076 GB, free: 65.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009088/0.3519, allocations: 0.5165 MB / 0.5081 GB, free: 65.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3519, allocations: 18.38 kB / 0.5081 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3519, allocations: 7 kB / 0.5082 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.3522, allocations: 55.53 kB / 0.5082 GB, free: 65.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.3526, allocations: 95.36 kB / 0.5083 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.3537, allocations: 1.636 MB / 0.5099 GB, free: 63.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.354, allocations: 48.08 kB / 0.5099 GB, free: 63.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.354, allocations: 18.84 kB / 0.51 GB, free: 63.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003811/0.3544, allocations: 270.5 kB / 0.5102 GB, free: 63.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002933/0.3547, allocations: 245.2 kB / 0.5105 GB, free: 63.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005612/0.3553, allocations: 424.5 kB / 0.5109 GB, free: 63.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.3553, allocations: 7.062 kB / 0.5109 GB, free: 63.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008061/0.3561, allocations: 0.509 MB / 0.5114 GB, free: 63.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.3561, allocations: 6.281 kB / 0.5114 GB, free: 63.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3561, allocations: 3.438 kB / 0.5114 GB, free: 63.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.3562, allocations: 66.62 kB / 0.5114 GB, free: 63.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3566, allocations: 94.8 kB / 0.5115 GB, free: 63.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009729/0.3576, allocations: 1.623 MB / 0.5131 GB, free: 61.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3578, allocations: 51.27 kB / 0.5132 GB, free: 61.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3579, allocations: 17.09 kB / 0.5132 GB, free: 61.53 MB / 446.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.0001316/0.358, allocations: 206.6 kB / 0.5134 GB, free: 61.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.3581, allocations: 25.28 kB / 0.5134 GB, free: 61.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009567/0.359, allocations: 0.4976 MB / 0.5139 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.359, allocations: 6.438 kB / 0.5139 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.359, allocations: 3.094 kB / 0.5139 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.359, allocations: 0 / 0.5139 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3603, allocations: 0.9327 MB / 0.5148 GB, free: 60.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3603, allocations: 3.984 kB / 0.5148 GB, free: 60.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.3607, allocations: 82.48 kB / 0.5149 GB, free: 60.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.3608, allocations: 52 kB / 0.5149 GB, free: 60.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3608, allocations: 15.25 kB / 0.5149 GB, free: 60.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000949/0.3618, allocations: 1.619 MB / 0.5165 GB, free: 59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3618, allocations: 0 / 0.5165 GB, free: 59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3629, allocations: 0.747 MB / 0.5173 GB, free: 58.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.363, allocations: 64.92 kB / 0.5173 GB, free: 58.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3631, allocations: 7.031 kB / 0.5173 GB, free: 58.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3633, allocations: 23.67 kB / 0.5173 GB, free: 58.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3634, allocations: 27.05 kB / 0.5174 GB, free: 58.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3634, allocations: 19.31 kB / 0.5174 GB, free: 58.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.385e-05/0.3635, allocations: 136.2 kB / 0.5175 GB, free: 58.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3635, allocations: 4.062 kB / 0.5175 GB, free: 58.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.3643, allocations: 255.3 kB / 0.5178 GB, free: 58.37 MB / 446.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.0002007/0.3645, allocations: 149.6 kB / 0.5179 GB, free: 58.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3659, allocations: 0.843 MB / 0.5187 GB, free: 57.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3659, allocations: 0 / 0.5187 GB, free: 57.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.3663, allocations: 316.1 kB / 0.519 GB, free: 57.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3667, allocations: 40.17 kB / 0.5191 GB, free: 57.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3679, allocations: 0.863 MB / 0.5199 GB, free: 57.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.368, allocations: 223.4 kB / 0.5201 GB, free: 57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3683, allocations: 68.44 kB / 0.5202 GB, free: 56.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.3683, allocations: 37.39 kB / 0.5202 GB, free: 56.96 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3683, allocations: 0 / 0.5202 GB, free: 56.96 MB / 446.1 MB Notification: Performance of Templates: time 0.01024/0.3786, allocations: 4.468 MB / 0.5246 GB, free: 56.4 MB / 446.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.991020355955698] Failed to read output from testmodel.py, exit status != 0: 0.38725179608445615 0.399014187 0.059712435 Calling exit ...