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.001571/0.001571, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.629/1.629, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 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.002175/0.002175, allocations: 160.7 kB / 256.3 MB, free: 13.18 MB / 250.7 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.03901/0.03901, allocations: 6.656 MB / 319.4 MB, free: 26.57 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.177e-05/4.417e-05, allocations: 13.56 kB / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.007568/0.007612, allocations: 3.686 MB / 394.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.01198, allocations: 1.541 MB / 396.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.01279, allocations: 12 kB / 396.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.01571, allocations: 0.7619 MB / 396.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.01754, allocations: 373.8 kB / 397.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.01944, allocations: 0.5876 MB / 397.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.02089, allocations: 0.5563 MB / 398.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.02225, allocations: 456.1 kB / 398.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.02313, allocations: 359.2 kB / 399.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.02358, allocations: 223.4 kB / 399.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.02368, allocations: 52 kB / 399.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.02445, allocations: 231.6 kB / 399.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.0246, allocations: 123.6 kB / 399.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.0249, allocations: 183.5 kB / 400 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.02722, allocations: 0.8449 MB / 400.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.805e-05/0.02724, allocations: 0 / 400.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.02724, allocations: 0 / 400.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.02726, allocations: 0 / 400.9 MB, free: 8.969 MB / 330.7 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.002928/0.03019, allocations: 0.8755 MB / 401.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.03025, allocations: 8.031 kB / 401.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.03336, allocations: 0.496 MB / 402.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.03436, allocations: 302.9 kB / 402.5 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.03444, allocations: 45.69 kB / 402.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.03463, allocations: 64.31 kB / 402.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.03629, allocations: 0.682 MB / 403.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.03632, allocations: 0 / 403.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.0364, allocations: 28 kB / 403.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.03642, allocations: 15.94 kB / 403.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.03781, allocations: 0.5751 MB / 403.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.0421, allocations: 1.778 MB / 405.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.04358, allocations: 481.6 kB / 406.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.04405, allocations: 180.7 kB / 406.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.0442, allocations: 19.98 kB / 406.4 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.04425, allocations: 38.56 kB / 406.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.876e-06/0.04425, allocations: 0 / 406.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.002027/0.04628, allocations: 0.6151 MB / 407 MB, free: 2.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.04635, allocations: 59.41 kB / 407.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.04697, allocations: 203.5 kB / 407.3 MB, free: 2.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.04704, allocations: 33.7 kB / 407.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.04729, allocations: 268.6 kB / 407.6 MB, free: 1.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.04747, allocations: 150.7 kB / 407.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.04765, allocations: 90.12 kB / 407.8 MB, free: 1.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.04788, allocations: 338.8 kB / 408.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.04831, allocations: 154.7 kB / 408.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.04882, allocations: 253.3 kB / 408.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.04974, allocations: 441.7 kB / 409 MB, free: 500 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.04974, allocations: 0 / 409 MB, free: 500 kB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.1576/0.2073, allocations: 0.5314 MB / 409.5 MB, free: 83.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.2074, allocations: 6.844 kB / 409.5 MB, free: 83.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2074, allocations: 3.812 kB / 409.5 MB, free: 83.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.208, allocations: 71.67 kB / 409.6 MB, free: 83.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.2086, allocations: 98.8 kB / 409.7 MB, free: 83.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.2104, allocations: 1.633 MB / 411.3 MB, free: 81.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.2109, allocations: 51.83 kB / 411.4 MB, free: 81.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.2109, allocations: 21.89 kB / 411.4 MB, free: 81.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005391/0.2115, allocations: 270.5 kB / 411.7 MB, free: 81.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004203/0.2119, allocations: 247.2 kB / 411.9 MB, free: 81.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007794/0.2126, allocations: 421.7 kB / 412.3 MB, free: 81.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.2127, allocations: 2.938 kB / 412.3 MB, free: 81.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001295/0.214, allocations: 0.5291 MB / 412.8 MB, free: 81.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.214, allocations: 6.469 kB / 412.9 MB, free: 81.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.214, allocations: 3.75 kB / 412.9 MB, free: 81.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.2143, allocations: 71.05 kB / 412.9 MB, free: 81.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2148, allocations: 101.1 kB / 413 MB, free: 81.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2162, allocations: 1.636 MB / 414.7 MB, free: 79.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.2167, allocations: 40.02 kB / 414.7 MB, free: 79.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.2167, allocations: 20.48 kB / 414.7 MB, free: 79.79 MB / 330.7 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.0002053/0.2169, allocations: 212.5 kB / 414.9 MB, free: 79.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.217, allocations: 42.5 kB / 415 MB, free: 79.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.2184, allocations: 0.4956 MB / 415.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.2184, allocations: 5.234 kB / 415.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.2184, allocations: 2 kB / 415.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2184, allocations: 3.281 kB / 415.5 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.2204, allocations: 0.9308 MB / 416.4 MB, free: 78.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2204, allocations: 0 / 416.4 MB, free: 78.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.2208, allocations: 80 kB / 416.5 MB, free: 78.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.2211, allocations: 68.48 kB / 416.6 MB, free: 78.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.2211, allocations: 9.516 kB / 416.6 MB, free: 78.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.2226, allocations: 1.624 MB / 418.2 MB, free: 77.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2226, allocations: 0 / 418.2 MB, free: 77.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2242, allocations: 0.76 MB / 418.9 MB, free: 76.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.2244, allocations: 62.08 kB / 419 MB, free: 76.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.2244, allocations: 7.984 kB / 419 MB, free: 76.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2247, allocations: 25.31 kB / 419 MB, free: 76.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.2248, allocations: 33.23 kB / 419.1 MB, free: 76.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2249, allocations: 15.45 kB / 419.1 MB, free: 76.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.225, allocations: 134.5 kB / 419.2 MB, free: 76.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.225, allocations: 0.9688 kB / 419.2 MB, free: 76.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001085/0.2261, allocations: 258.3 kB / 419.5 MB, free: 76.69 MB / 330.7 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.0003439/0.2265, allocations: 140.6 kB / 419.6 MB, free: 76.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.2284, allocations: 0.8444 MB / 420.5 MB, free: 76.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2284, allocations: 6.938 kB / 420.5 MB, free: 76.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.2291, allocations: 321.3 kB / 420.8 MB, free: 75.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.2296, allocations: 43.7 kB / 420.8 MB, free: 75.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2314, allocations: 0.8264 MB / 421.6 MB, free: 75.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2317, allocations: 219.5 kB / 421.9 MB, free: 75.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.232, allocations: 68.73 kB / 421.9 MB, free: 75.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2321, allocations: 38.11 kB / 422 MB, free: 75.35 MB / 330.7 MB Notification: Performance of SimCode: time 2.275e-06/0.2321, allocations: 0 / 422 MB, free: 75.35 MB / 330.7 MB Notification: Performance of Templates: time 0.01219/0.2443, allocations: 4.508 MB / 426.5 MB, free: 74.37 MB / 330.7 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.564502176945098]