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.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006599/0.006599, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 222.9 MB / 239.5 MB, free: 4.828 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001592, allocations: 192.5 kB / 289.8 MB, free: 2.562 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03732/0.03732, allocations: 8.787 MB / 348.7 MB, free: 4.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 75.97 kB / 411.1 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1539, allocations: 51.57 MB / 462.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.009148/0.1631, allocations: 3.983 MB / 466.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.168, allocations: 1.562 MB / 468.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.1685, allocations: 8 kB / 468.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.1714, allocations: 0.7271 MB / 468.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1736, allocations: 489.9 kB / 469.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1754, allocations: 468.9 kB / 469.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1765, allocations: 0.5058 MB / 470.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1778, allocations: 446.5 kB / 470.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.1785, allocations: 223.1 kB / 471 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.1791, allocations: 302.7 kB / 471.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1792, allocations: 40 kB / 471.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009833/0.1802, allocations: 207.8 kB / 471.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1804, allocations: 107.6 kB / 471.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.1809, allocations: 262.6 kB / 471.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1821, allocations: 0.6079 MB / 472.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1821, allocations: 0 / 472.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1821, allocations: 0 / 472.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1822, allocations: 0 / 472.5 MB, free: 5.086 MB / 302.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.003549/0.1857, allocations: 0.9714 MB / 473.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/0.1858, allocations: 8.031 kB / 473.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.1916, allocations: 395.9 kB / 473.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.1928, allocations: 358.3 kB / 474.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.1929, allocations: 49.69 kB / 474.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1932, allocations: 67.86 kB / 474.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.1952, allocations: 0.6276 MB / 475 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.1953, allocations: 0 / 475 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.1954, allocations: 28 kB / 475 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/0.1955, allocations: 21.31 kB / 475 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.1974, allocations: 0.5751 MB / 475.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.2028, allocations: 2.185 MB / 477.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.2053, allocations: 1.184 MB / 479 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.206, allocations: 192.8 kB / 479.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.2061, allocations: 93.09 kB / 479.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.2062, allocations: 34.56 kB / 479.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 3.867e-06/0.2062, allocations: 0 / 479.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.002754/0.209, allocations: 0.6863 MB / 480 MB, free: 13.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.2091, allocations: 55.41 kB / 480 MB, free: 13.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.2096, allocations: 270.5 kB / 480.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2096, allocations: 33.7 kB / 480.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.2099, allocations: 248.6 kB / 480.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2101, allocations: 149.8 kB / 480.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.2103, allocations: 86.25 kB / 480.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2105, allocations: 342.8 kB / 481.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.2111, allocations: 159 kB / 481.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.2118, allocations: 253.9 kB / 481.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.2131, allocations: 425.8 kB / 481.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2131, allocations: 4 kB / 481.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001821/0.215, allocations: 0.5254 MB / 482.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.215, allocations: 8 kB / 482.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.215, allocations: 0 / 482.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.2154, allocations: 61.17 kB / 482.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.2162, allocations: 103.8 kB / 482.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.2186, allocations: 1.588 MB / 484.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.2192, allocations: 63.36 kB / 484.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.2192, allocations: 23.94 kB / 484.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007751/0.22, allocations: 269.8 kB / 484.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006342/0.2207, allocations: 249.6 kB / 484.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/0.2219, allocations: 431.6 kB / 485.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.2219, allocations: 0 / 485.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001813/0.2238, allocations: 0.505 MB / 485.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2238, allocations: 11.94 kB / 485.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2238, allocations: 0 / 485.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.2242, allocations: 65.17 kB / 485.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.2249, allocations: 103.8 kB / 485.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.2273, allocations: 1.576 MB / 487.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.2279, allocations: 43.61 kB / 487.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.228, allocations: 20.12 kB / 487.6 MB, free: 5.035 MB / 318.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.0002747/0.2283, allocations: 212.1 kB / 487.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2284, allocations: 35.69 kB / 487.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.2303, allocations: 0.5083 MB / 488.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2303, allocations: 8 kB / 488.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2303, allocations: 0 / 488.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2303, allocations: 3.984 kB / 488.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.2333, allocations: 1.08 MB / 489.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2333, allocations: 3.938 kB / 489.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.2339, allocations: 79.89 kB / 489.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.2343, allocations: 56.81 kB / 489.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.2343, allocations: 4 kB / 489.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.2366, allocations: 1.58 MB / 491.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.2366, allocations: 7.938 kB / 491.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.2391, allocations: 0.7452 MB / 491.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.2394, allocations: 156.5 kB / 492 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.2395, allocations: 4 kB / 492 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.2399, allocations: 19.98 kB / 492 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2401, allocations: 36.33 kB / 492.1 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.2402, allocations: 8 kB / 492.1 MB, free: 252 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003234/0.2405, allocations: 198 kB / 492.3 MB, free: 56 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2405, allocations: 0 / 492.3 MB, free: 56 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001696/0.2422, allocations: 235.3 kB / 492.5 MB, free: 15.82 MB / 334.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.0003968/0.2426, allocations: 140.2 kB / 492.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.2454, allocations: 0.8907 MB / 493.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2454, allocations: 0 / 493.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.2463, allocations: 345 kB / 493.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.2472, allocations: 55.14 kB / 493.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.25, allocations: 1.084 MB / 495 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.2507, allocations: 0.8252 MB / 495.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.251, allocations: 43.42 kB / 495.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 1.724e-06/0.251, allocations: 0 / 495.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Templates: time 0.0172/0.2682, allocations: 7.245 MB / 0.4913 GB, free: 5.105 MB / 334.1 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)