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.001689/0.001689, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.546/1.546, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001663/0.001663, allocations: 212.8 kB / 310 MB, free: 3.102 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.04308/0.04308, allocations: 8.931 MB / 375.3 MB, free: 6.57 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.002567/0.002567, allocations: 87.88 kB / 0.4904 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.1003, allocations: 55.6 MB / 0.5447 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005983/0.1063, allocations: 3.677 MB / 0.5482 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.1093, allocations: 1.542 MB / 0.5498 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.1095, allocations: 12 kB / 0.5498 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.1115, allocations: 0.7194 MB / 0.5505 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.1124, allocations: 369.2 kB / 0.5508 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1137, allocations: 0.5879 MB / 0.5514 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007039/0.1144, allocations: 0.537 MB / 0.5519 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.1151, allocations: 452.2 kB / 0.5523 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.1155, allocations: 255.1 kB / 0.5526 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1159, allocations: 262.8 kB / 0.5528 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.1159, allocations: 56 kB / 0.5529 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.1164, allocations: 219.8 kB / 0.5531 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1165, allocations: 127.5 kB / 0.5532 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1167, allocations: 215 kB / 0.5534 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1178, allocations: 0.825 MB / 0.5542 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1178, allocations: 0 / 0.5542 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1178, allocations: 0 / 0.5542 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1178, allocations: 3.938 kB / 0.5542 GB, free: 10.7 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.002138/0.1199, allocations: 0.8814 MB / 0.5551 GB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.12, allocations: 15.92 kB / 0.5551 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.1227, allocations: 392.2 kB / 0.5555 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.1234, allocations: 305.2 kB / 0.5558 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.1234, allocations: 45.69 kB / 0.5558 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1235, allocations: 63.94 kB / 0.5559 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1248, allocations: 0.6817 MB / 0.5566 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1248, allocations: 0 / 0.5566 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.1248, allocations: 20 kB / 0.5566 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1249, allocations: 16 kB / 0.5566 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.126, allocations: 0.5712 MB / 0.5571 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.1291, allocations: 1.749 MB / 0.5589 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.1304, allocations: 480.2 kB / 0.5593 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.1308, allocations: 180.5 kB / 0.5595 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.1308, allocations: 19.98 kB / 0.5595 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1309, allocations: 42.55 kB / 0.5595 GB, free: 5.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.673e-06/0.1309, allocations: 0 / 0.5595 GB, free: 5.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001651/0.1325, allocations: 0.597 MB / 0.5601 GB, free: 4.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.1326, allocations: 63.34 kB / 0.5602 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1328, allocations: 198.2 kB / 0.5604 GB, free: 4.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1329, allocations: 37.7 kB / 0.5604 GB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1331, allocations: 256.7 kB / 0.5607 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1332, allocations: 154.6 kB / 0.5608 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1334, allocations: 94.12 kB / 0.5609 GB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.1336, allocations: 334.8 kB / 0.5612 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.134, allocations: 154.8 kB / 0.5614 GB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.1345, allocations: 253.3 kB / 0.5616 GB, free: 2.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.1353, allocations: 433.7 kB / 0.562 GB, free: 2.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1353, allocations: 0 / 0.562 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00112/0.1365, allocations: 0.5222 MB / 0.5625 GB, free: 1.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1365, allocations: 11.94 kB / 0.5625 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1365, allocations: 4 kB / 0.5625 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.1367, allocations: 52.83 kB / 0.5626 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.1372, allocations: 99.88 kB / 0.5627 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2772/0.4143, allocations: 1.62 MB / 0.5643 GB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4148, allocations: 50.92 kB / 0.5643 GB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.4148, allocations: 19.38 kB / 0.5643 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004639/0.4153, allocations: 270.8 kB / 0.5646 GB, free: 24.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003104/0.4156, allocations: 249.5 kB / 0.5648 GB, free: 24.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000587/0.4162, allocations: 426.9 kB / 0.5652 GB, free: 24.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.4162, allocations: 4.312 kB / 0.5652 GB, free: 24.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008711/0.4171, allocations: 0.5026 MB / 0.5657 GB, free: 24.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4171, allocations: 8.531 kB / 0.5657 GB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4171, allocations: 4.562 kB / 0.5657 GB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.4173, allocations: 61.33 kB / 0.5658 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4176, allocations: 98.86 kB / 0.5659 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.4188, allocations: 1.621 MB / 0.5675 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.419, allocations: 46.19 kB / 0.5675 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.419, allocations: 20.25 kB / 0.5675 GB, free: 23.09 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.0001419/0.4192, allocations: 211.8 kB / 0.5677 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.4193, allocations: 29.36 kB / 0.5678 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.4202, allocations: 0.4955 MB / 0.5683 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4202, allocations: 2.875 kB / 0.5683 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4202, allocations: 6.188 kB / 0.5683 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4202, allocations: 6.281 kB / 0.5683 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4216, allocations: 0.9195 MB / 0.5692 GB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4216, allocations: 0 / 0.5692 GB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.4219, allocations: 84.08 kB / 0.5693 GB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.4221, allocations: 55.95 kB / 0.5693 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.4221, allocations: 5.828 kB / 0.5693 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.4231, allocations: 1.629 MB / 0.5709 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4231, allocations: 0 / 0.5709 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.4243, allocations: 0.748 MB / 0.5716 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4244, allocations: 58.88 kB / 0.5717 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.4244, allocations: 10.56 kB / 0.5717 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.4247, allocations: 21.12 kB / 0.5717 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.4248, allocations: 36.42 kB / 0.5718 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.4248, allocations: 14.05 kB / 0.5718 GB, free: 21.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4249, allocations: 139.5 kB / 0.5719 GB, free: 20.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 0 / 0.5719 GB, free: 20.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.4258, allocations: 262.1 kB / 0.5722 GB, free: 20.91 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.0002122/0.426, allocations: 133.8 kB / 0.5723 GB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.4276, allocations: 0.8498 MB / 0.5731 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4276, allocations: 0 / 0.5731 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.4282, allocations: 327.4 kB / 0.5734 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.4286, allocations: 37.2 kB / 0.5735 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.4301, allocations: 0.8856 MB / 0.5743 GB, free: 20.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.4303, allocations: 222.6 kB / 0.5745 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4304, allocations: 42.42 kB / 0.5746 GB, free: 19.9 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4304, allocations: 0 / 0.5746 GB, free: 19.9 MB / 382.1 MB Notification: Performance of Templates: time 0.0133/0.4437, allocations: 7.38 MB / 0.5818 GB, free: 19.17 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: 8.280855671968311] Failed to read output from testmodel.py, exit status != 0: 0.4516180153004825 0.46640899799999996 0.34568575399999996 Calling exit ...