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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05687/0.05687, allocations: 8.794 MB / 25.53 MB, free: 3.746 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 251.3 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.000999, allocations: 108.2 kB / 303.6 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 366 MB, free: 204 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2116, allocations: 51.56 MB / 417.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003878/0.2155, allocations: 3.984 MB / 421.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2174, allocations: 1.575 MB / 423.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2176, allocations: 12 kB / 423.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2189, allocations: 0.7161 MB / 423.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.2197, allocations: 498 kB / 424.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.2204, allocations: 463.3 kB / 424.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.2208, allocations: 0.5136 MB / 425.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.2214, allocations: 446.2 kB / 425.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2216, allocations: 227 kB / 425.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.2218, allocations: 302.8 kB / 426.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.2218, allocations: 36 kB / 426.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2221, allocations: 203.8 kB / 426.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.2222, allocations: 111.6 kB / 426.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.2224, allocations: 250.7 kB / 426.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.2229, allocations: 0.7866 MB / 427.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2229, allocations: 0 / 427.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2229, allocations: 0 / 427.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2229, allocations: 0 / 427.6 MB, free: 10.84 MB / 298.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.001699/0.2246, allocations: 0.9596 MB / 428.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2247, allocations: 8.031 kB / 428.6 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.2271, allocations: 411.9 kB / 429 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2275, allocations: 345.4 kB / 429.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.2275, allocations: 45.69 kB / 429.3 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.2276, allocations: 59.88 kB / 429.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.2285, allocations: 0.6432 MB / 430 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.2285, allocations: 4 kB / 430.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.2285, allocations: 24 kB / 430.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.2286, allocations: 21.31 kB / 430.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.2295, allocations: 0.5751 MB / 430.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.2318, allocations: 2.184 MB / 432.9 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2329, allocations: 1.191 MB / 434 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2332, allocations: 192.8 kB / 434.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.2333, allocations: 97.39 kB / 434.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2334, allocations: 38.56 kB / 434.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.425e-06/0.2334, allocations: 0 / 434.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001374/0.2347, allocations: 0.6824 MB / 435.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.2348, allocations: 55.41 kB / 435.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.235, allocations: 274.5 kB / 435.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.235, allocations: 33.7 kB / 435.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.2351, allocations: 244.3 kB / 435.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.2352, allocations: 153.8 kB / 435.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2353, allocations: 82.25 kB / 435.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.2354, allocations: 342.8 kB / 436.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2356, allocations: 155 kB / 436.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.2359, allocations: 253.9 kB / 436.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.2365, allocations: 429.8 kB / 437 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2365, allocations: 0 / 437 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008448/0.2374, allocations: 0.5218 MB / 437.6 MB, free: 264 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2374, allocations: 14.56 kB / 437.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2374, allocations: 4 kB / 437.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.2377, allocations: 60.75 kB / 437.6 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.238, allocations: 95.89 kB / 437.7 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.2395, allocations: 1.596 MB / 439.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2398, allocations: 55.41 kB / 439.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.2399, allocations: 28.05 kB / 439.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004239/0.2403, allocations: 271 kB / 439.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003478/0.2407, allocations: 245.6 kB / 439.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006354/0.2413, allocations: 427.6 kB / 440.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.2413, allocations: 7.938 kB / 440.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009307/0.2423, allocations: 0.5015 MB / 440.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2423, allocations: 12 kB / 440.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2423, allocations: 4 kB / 440.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.2425, allocations: 56.77 kB / 440.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.2429, allocations: 99.81 kB / 441 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2442, allocations: 1.588 MB / 442.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2445, allocations: 47.67 kB / 442.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2445, allocations: 20.06 kB / 442.7 MB, free: 10.79 MB / 314.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.0001568/0.2447, allocations: 208.6 kB / 442.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.2448, allocations: 31.62 kB / 442.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.2458, allocations: 0.5161 MB / 443.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2458, allocations: 4 kB / 443.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.2458, allocations: 0 / 443.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2459, allocations: 0 / 443.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.2474, allocations: 1.084 MB / 444.5 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2474, allocations: 7.938 kB / 444.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.2478, allocations: 79.89 kB / 444.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.2479, allocations: 48.83 kB / 444.6 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.248, allocations: 15.98 kB / 444.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.2493, allocations: 1.572 MB / 446.2 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2493, allocations: 7.953 kB / 446.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.2519, allocations: 1.995 MB / 448.2 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.2521, allocations: 148.6 kB / 448.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2521, allocations: 4 kB / 448.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2524, allocations: 23.98 kB / 448.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.2525, allocations: 32.48 kB / 448.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.2525, allocations: 19.94 kB / 448.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.2527, allocations: 194 kB / 448.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2527, allocations: 0 / 448.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009568/0.2536, allocations: 267.1 kB / 448.9 MB, free: 4.18 MB / 314.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.0002076/0.2539, allocations: 131.1 kB / 449 MB, free: 4.043 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.2553, allocations: 0.8951 MB / 449.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2554, allocations: 0 / 449.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.2559, allocations: 337.2 kB / 450.2 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.2563, allocations: 40.55 kB / 450.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.2579, allocations: 1.33 MB / 451.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.2583, allocations: 0.8369 MB / 452.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003469/0.2587, allocations: 71.25 kB / 452.5 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2588, allocations: 43.3 kB / 452.6 MB, free: 400 kB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2588, allocations: 0 / 452.6 MB, free: 400 kB / 314.7 MB Notification: Performance of Templates: time 0.008497/0.2673, allocations: 4.755 MB / 457.3 MB, free: 11.65 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile (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)