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.001531/0.001531, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.464/1.464, allocations: 222.9 MB / 240 MB, free: 4.504 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.001241/0.001241, allocations: 188.1 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03427/0.03427, allocations: 8.795 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 87.11 kB / 412.5 MB, free: 41.71 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1223, allocations: 51.56 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005584/0.1279, allocations: 3.964 MB / 468.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.1309, allocations: 1.569 MB / 469.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.1311, allocations: 12 kB / 469.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1329, allocations: 0.7799 MB / 470.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1341, allocations: 0.5208 MB / 470.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.135, allocations: 493.5 kB / 471.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.1357, allocations: 0.541 MB / 472 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.1364, allocations: 0.5075 MB / 472.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.1367, allocations: 235.1 kB / 472.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.1372, allocations: 302.8 kB / 473 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.1373, allocations: 56 kB / 473 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.1377, allocations: 223.8 kB / 473.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1378, allocations: 135.5 kB / 473.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.138, allocations: 270.7 kB / 473.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008816/0.1389, allocations: 0.8021 MB / 474.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1389, allocations: 0 / 474.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.139, allocations: 0 / 474.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.139, allocations: 0 / 474.5 MB, free: 3.109 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.001969/0.1409, allocations: 0.9419 MB / 475.4 MB, free: 2.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.141, allocations: 12.03 kB / 475.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.1437, allocations: 403.9 kB / 475.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.1444, allocations: 358.1 kB / 476.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.1444, allocations: 45.69 kB / 476.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1445, allocations: 63.92 kB / 476.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.1457, allocations: 0.6276 MB / 476.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1457, allocations: 0 / 476.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.1458, allocations: 31.94 kB / 476.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.1458, allocations: 16 kB / 476.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1469, allocations: 0.5712 MB / 477.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.15, allocations: 2.161 MB / 479.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1516, allocations: 1.189 MB / 480.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.152, allocations: 188.8 kB / 481 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.1521, allocations: 89.09 kB / 481.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1521, allocations: 38.56 kB / 481.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.913e-06/0.1521, allocations: 4 kB / 481.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001566/0.1537, allocations: 0.6824 MB / 481.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1538, allocations: 55.41 kB / 481.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1541, allocations: 274.5 kB / 482.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.1541, allocations: 37.64 kB / 482.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1543, allocations: 248.7 kB / 482.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1544, allocations: 157.7 kB / 482.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1546, allocations: 82.25 kB / 482.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1547, allocations: 338.8 kB / 483 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.155, allocations: 151 kB / 483.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.1554, allocations: 264.9 kB / 483.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.1562, allocations: 433.8 kB / 483.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1562, allocations: 0 / 483.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009578/0.1571, allocations: 0.5254 MB / 484.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1572, allocations: 4 kB / 484.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1572, allocations: 8.344 kB / 484.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.1574, allocations: 56.83 kB / 484.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1578, allocations: 103.8 kB / 484.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.1594, allocations: 1.763 MB / 486.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1597, allocations: 51.42 kB / 486.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.1598, allocations: 23.94 kB / 486.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004037/0.1602, allocations: 281.8 kB / 486.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003399/0.1606, allocations: 245.6 kB / 486.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000621/0.1612, allocations: 423.6 kB / 487.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.1612, allocations: 4 kB / 487.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008746/0.1621, allocations: 0.5094 MB / 487.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1621, allocations: 7.938 kB / 487.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1621, allocations: 8.047 kB / 487.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.1623, allocations: 56.81 kB / 487.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1626, allocations: 99.81 kB / 488 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.164, allocations: 1.759 MB / 489.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1643, allocations: 39.59 kB / 489.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.1643, allocations: 28.05 kB / 489.8 MB, free: 2.75 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.0001514/0.1645, allocations: 209.9 kB / 490 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.1646, allocations: 31.56 kB / 490.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.1656, allocations: 0.5007 MB / 490.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1656, allocations: 8 kB / 490.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1656, allocations: 4 kB / 490.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1656, allocations: 3.984 kB / 490.6 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1672, allocations: 1.088 MB / 491.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1672, allocations: 0 / 491.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.1675, allocations: 79.89 kB / 491.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.1677, allocations: 48.83 kB / 491.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1677, allocations: 12 kB / 491.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.1691, allocations: 1.751 MB / 493.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1691, allocations: 0 / 493.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.1703, allocations: 0.754 MB / 494.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1705, allocations: 144.7 kB / 494.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1705, allocations: 16 kB / 494.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.1708, allocations: 15.98 kB / 494.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.1709, allocations: 40.33 kB / 494.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.1709, allocations: 11.98 kB / 494.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1711, allocations: 198 kB / 494.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1711, allocations: 0 / 494.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009336/0.1721, allocations: 235.1 kB / 495 MB, free: 13.36 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.000266/0.1723, allocations: 135.2 kB / 495.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.174, allocations: 0.8828 MB / 496 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1741, allocations: 7.938 kB / 496 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.1746, allocations: 346.1 kB / 496.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.175, allocations: 42.72 kB / 496.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1764, allocations: 0.8544 MB / 497.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1769, allocations: 0.821 MB / 498 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.1771, allocations: 79.23 kB / 498.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.1772, allocations: 39.42 kB / 498.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1772, allocations: 0 / 498.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Templates: time 0.00927/0.1865, allocations: 4.758 MB / 0.4911 GB, free: 5.32 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)