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.001071/0.001071, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.088/1.088, allocations: 177.2 MB / 200.3 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] 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.001365/0.001365, allocations: 156.6 kB / 256.9 MB, free: 12.95 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.02432/0.02432, allocations: 6.664 MB / 320.1 MB, free: 26.35 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 1.744e-06/1.744e-06, allocations: 0 / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.715e-05, allocations: 6.109 kB / 392.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004454/0.004481, allocations: 3.892 MB / 396 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.007006, allocations: 1.573 MB / 397.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.007409, allocations: 12 kB / 397.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.008887, allocations: 0.8047 MB / 398.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009597/0.009847, allocations: 373.8 kB / 398.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.01108, allocations: 0.5877 MB / 399.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.01198, allocations: 0.5485 MB / 399.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.01312, allocations: 452.1 kB / 400.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.0137, allocations: 359.1 kB / 400.7 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.01406, allocations: 231.3 kB / 400.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.01416, allocations: 52 kB / 400.9 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.01467, allocations: 223.6 kB / 401.1 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.01477, allocations: 123.5 kB / 401.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.01495, allocations: 191.5 kB / 401.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008697/0.01582, allocations: 0.5566 MB / 402 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01582, allocations: 0 / 402 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01582, allocations: 0 / 402 MB, free: 8.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.01583, allocations: 0 / 402 MB, free: 8.297 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.001506/0.01734, allocations: 0.9793 MB / 403 MB, free: 7.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01738, allocations: 12.03 kB / 403 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.01883, allocations: 0.4999 MB / 403.5 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.01913, allocations: 291.5 kB / 403.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.01916, allocations: 49.69 kB / 403.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.01923, allocations: 64.36 kB / 403.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.0197, allocations: 409.1 kB / 404.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01972, allocations: 4 kB / 404.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.01975, allocations: 28 kB / 404.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01976, allocations: 15.98 kB / 404.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.02006, allocations: 270.2 kB / 404.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.02182, allocations: 1.785 MB / 406.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.02235, allocations: 410.1 kB / 406.8 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.02244, allocations: 99.55 kB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.324e-05/0.02251, allocations: 35.97 kB / 406.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.02253, allocations: 41.39 kB / 407 MB, free: 3.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.493e-06/0.02253, allocations: 0 / 407 MB, free: 3.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008714/0.0234, allocations: 388.8 kB / 407.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.02343, allocations: 59.39 kB / 407.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.02355, allocations: 254.9 kB / 407.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.02357, allocations: 29.7 kB / 407.7 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.02368, allocations: 319.3 kB / 408 MB, free: 2.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.02375, allocations: 154.7 kB / 408.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.02384, allocations: 99.75 kB / 408.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.02396, allocations: 0.5118 MB / 408.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.02404, allocations: 69.62 kB / 408.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.02418, allocations: 208.8 kB / 409 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.02441, allocations: 305.3 kB / 409.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.02442, allocations: 0 / 409.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003821/0.0248, allocations: 369.1 kB / 409.7 MB, free: 208 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.02481, allocations: 4 kB / 409.7 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.02482, allocations: 7.938 kB / 409.7 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.02499, allocations: 68.03 kB / 409.8 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.02518, allocations: 99.81 kB / 409.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1288/0.154, allocations: 2.104 MB / 412 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.1542, allocations: 44.73 kB / 412 MB, free: 73.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.1543, allocations: 18.22 kB / 412 MB, free: 73.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001851/0.1545, allocations: 192.5 kB / 412.2 MB, free: 73.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001491/0.1546, allocations: 209.9 kB / 412.4 MB, free: 73.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002567/0.1549, allocations: 309.3 kB / 412.7 MB, free: 73.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.1549, allocations: 1.094 kB / 412.7 MB, free: 73.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004548/0.1553, allocations: 359.8 kB / 413.1 MB, free: 73.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1553, allocations: 8.969 kB / 413.1 MB, free: 73.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1553, allocations: 4.406 kB / 413.1 MB, free: 73.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.1555, allocations: 68.95 kB / 413.2 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1557, allocations: 92.97 kB / 413.2 MB, free: 73.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.1565, allocations: 2.106 MB / 415.4 MB, free: 71.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1566, allocations: 39.33 kB / 415.4 MB, free: 71.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1566, allocations: 15.69 kB / 415.4 MB, free: 71.45 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.0001129/0.1568, allocations: 297.6 kB / 415.7 MB, free: 71.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1568, allocations: 48.55 kB / 415.7 MB, free: 71.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.1573, allocations: 350 kB / 416.1 MB, free: 71.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1573, allocations: 5.656 kB / 416.1 MB, free: 71.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1573, allocations: 1.094 kB / 416.1 MB, free: 71.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1573, allocations: 4.359 kB / 416.1 MB, free: 71.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/0.1581, allocations: 0.7598 MB / 416.9 MB, free: 70.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1581, allocations: 1.062 kB / 416.9 MB, free: 70.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.1583, allocations: 75.98 kB / 416.9 MB, free: 70.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.1585, allocations: 61.75 kB / 417 MB, free: 70.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1585, allocations: 11.64 kB / 417 MB, free: 70.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006881/0.1592, allocations: 2.106 MB / 419.1 MB, free: 68.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1592, allocations: 2.125 kB / 419.1 MB, free: 68.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1597, allocations: 0.5189 MB / 419.6 MB, free: 68.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.1598, allocations: 68.33 kB / 419.7 MB, free: 68.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1598, allocations: 9.141 kB / 419.7 MB, free: 68.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.16, allocations: 16.31 kB / 419.7 MB, free: 68.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.16, allocations: 36.58 kB / 419.8 MB, free: 68.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.16, allocations: 11.59 kB / 419.8 MB, free: 68.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.398e-05/0.1601, allocations: 166.3 kB / 419.9 MB, free: 68.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1601, allocations: 0 / 419.9 MB, free: 68.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007019/0.1608, allocations: 257.1 kB / 420.2 MB, free: 68.46 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.0002378/0.161, allocations: 137 kB / 420.3 MB, free: 68.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.1619, allocations: 0.7705 MB / 421.1 MB, free: 67.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1619, allocations: 4.812 kB / 421.1 MB, free: 67.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.1621, allocations: 327.6 kB / 421.4 MB, free: 67.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1624, allocations: 40.59 kB / 421.4 MB, free: 67.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1636, allocations: 0.7725 MB / 422.2 MB, free: 67.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.1636, allocations: 115.2 kB / 422.3 MB, free: 67.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1638, allocations: 69.11 kB / 422.4 MB, free: 67.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.164, allocations: 124.8 kB / 422.5 MB, free: 67.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.164, allocations: 0 / 422.5 MB, free: 67.28 MB / 330.7 MB Notification: Performance of Templates: time 0.009136/0.1731, allocations: 5.034 MB / 427.6 MB, free: 66.8 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.260526795871556]