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.001043/0.001043, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002579, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.022/1.022, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1864/1.209, allocations: 53.66 MB / 242 MB, free: 2.617 MB / 234.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.001077/0.001077, allocations: 155.5 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002542, allocations: 480.3 kB / 243.4 MB, free: 1.285 MB / 234.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.04274/0.04274, allocations: 6.658 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004173/0.04691, allocations: 2.668 MB / 253.5 MB, free: 7.414 MB / 250.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.553e-06/1.553e-06, allocations: 0 / 254.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.499e-05, allocations: 6.25 kB / 254.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.00608/0.006105, allocations: 3.953 MB / 258.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.009433, allocations: 1.662 MB / 260.4 MB, free: 496 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004605/0.009893, allocations: 8 kB / 260.4 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.01145, allocations: 0.8008 MB / 261.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01249, allocations: 373.8 kB / 261.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01363, allocations: 0.5953 MB / 262.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000868/0.0145, allocations: 0.5563 MB / 262.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.01526, allocations: 458.1 kB / 263.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.01584, allocations: 371.1 kB / 263.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.0162, allocations: 231.4 kB / 263.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.01629, allocations: 52 kB / 263.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.01685, allocations: 231.6 kB / 264 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.01694, allocations: 91.69 kB / 264.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.0171, allocations: 139.8 kB / 264.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.01791, allocations: 0.5175 MB / 264.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.01792, allocations: 0 / 264.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01792, allocations: 0 / 264.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.01794, allocations: 0 / 264.7 MB, free: 12.08 MB / 266.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.002036/0.01998, allocations: 1.058 MB / 265.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02001, allocations: 8.031 kB / 265.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.02275, allocations: 0.547 MB / 266.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.02323, allocations: 223.6 kB / 266.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.02327, allocations: 45.69 kB / 266.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.02336, allocations: 60.38 kB / 266.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.02383, allocations: 417.1 kB / 267.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.02385, allocations: 0 / 267.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.02388, allocations: 24 kB / 267.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.0239, allocations: 16 kB / 267.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.02415, allocations: 226.3 kB / 267.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.02583, allocations: 1.477 MB / 268.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.02637, allocations: 383.3 kB / 269.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.02647, allocations: 82.77 kB / 269.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.02654, allocations: 23.98 kB / 269.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.02658, allocations: 42.55 kB / 269.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.02658, allocations: 0 / 269.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006349/0.02721, allocations: 323.2 kB / 269.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.02724, allocations: 59.34 kB / 269.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.02736, allocations: 191.8 kB / 269.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.02739, allocations: 29.7 kB / 269.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.02751, allocations: 256.6 kB / 270.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.0276, allocations: 158.7 kB / 270.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.0277, allocations: 82.16 kB / 270.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.02781, allocations: 338.8 kB / 270.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.02789, allocations: 54.83 kB / 270.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.02801, allocations: 165.3 kB / 271 MB, free: 5.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.02823, allocations: 262.8 kB / 271.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.02824, allocations: 4 kB / 271.2 MB, free: 5.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003506/0.02859, allocations: 289.4 kB / 271.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.02861, allocations: 8 kB / 271.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.02862, allocations: 3.984 kB / 271.5 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.02885, allocations: 61.12 kB / 271.6 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.02908, allocations: 107.8 kB / 271.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.03021, allocations: 1.457 MB / 273.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.03043, allocations: 39.67 kB / 273.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.03046, allocations: 24.02 kB / 273.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001785/0.03064, allocations: 133.1 kB / 273.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000133/0.03077, allocations: 164.9 kB / 273.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002399/0.03101, allocations: 255.6 kB / 273.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.03101, allocations: 0 / 273.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003334/0.03134, allocations: 290 kB / 274 MB, free: 2.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.03136, allocations: 10.64 kB / 274 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.03136, allocations: 4 kB / 274 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.03151, allocations: 52.83 kB / 274.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.03172, allocations: 111.9 kB / 274.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/0.0326, allocations: 1.445 MB / 275.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.03275, allocations: 31.73 kB / 275.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.03277, allocations: 19.98 kB / 275.7 MB, free: 0.4961 MB / 266.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.0001713/0.03294, allocations: 220.1 kB / 275.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.03299, allocations: 27.92 kB / 275.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.03338, allocations: 278.8 kB / 276.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03338, allocations: 4 kB / 276.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.03339, allocations: 7.938 kB / 276.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.0334, allocations: 3.984 kB / 276.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.03402, allocations: 0.5637 MB / 276.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.03402, allocations: 4 kB / 276.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.03422, allocations: 87.88 kB / 276.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.03428, allocations: 47.61 kB / 276.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.03442, allocations: 52.83 kB / 277 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.03444, allocations: 11.98 kB / 277 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007531/0.03519, allocations: 1.426 MB / 278.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.03519, allocations: 4 kB / 278.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.03558, allocations: 419.5 kB / 278.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.0356, allocations: 8 kB / 278.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.0357, allocations: 12 kB / 278.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.03576, allocations: 40.36 kB / 278.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.03577, allocations: 12.06 kB / 278.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.03582, allocations: 53.84 kB / 279 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03582, allocations: 0 / 279 MB, free: 13.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005741/0.0364, allocations: 259.1 kB / 279.2 MB, free: 12.83 MB / 282.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.0001926/0.03659, allocations: 124.2 kB / 279.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.03725, allocations: 0.63 MB / 280 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.03726, allocations: 4 kB / 280 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.03748, allocations: 276.2 kB / 280.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.03781, allocations: 255 kB / 280.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.04162, allocations: 0.7771 MB / 281.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.04169, allocations: 115.3 kB / 281.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.0419, allocations: 70.92 kB / 281.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.04203, allocations: 107.3 kB / 281.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.04204, allocations: 0 / 281.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Templates: time 0.007595/0.04963, allocations: 5.046 MB / 286.6 MB, free: 5.359 MB / 282.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: 2.88060768134892]