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.001571/0.001571, allocations: 107.1 kB / 15.99 MB, free: 5.891 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.344/1.344, allocations: 222.9 MB / 239.6 MB, free: 4.785 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.002004/0.002004, allocations: 196.4 kB / 289.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03425/0.03425, allocations: 8.794 MB / 348.9 MB, free: 4.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 77.19 kB / 411.2 MB, free: 42.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.0996, allocations: 51.57 MB / 462.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005907/0.1056, allocations: 3.983 MB / 466.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1085, allocations: 1.55 MB / 468.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005177/0.1091, allocations: 8 kB / 468.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.1112, allocations: 0.7199 MB / 469.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.1126, allocations: 493.9 kB / 469.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1137, allocations: 445.3 kB / 470 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.1145, allocations: 0.537 MB / 470.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.1155, allocations: 0.5586 MB / 471.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.1159, allocations: 243.1 kB / 471.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1162, allocations: 306.8 kB / 471.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1164, allocations: 56 kB / 471.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.1169, allocations: 223.8 kB / 471.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.117, allocations: 127.5 kB / 472 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.1173, allocations: 274.6 kB / 472.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000838/0.1182, allocations: 0.6197 MB / 472.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.1182, allocations: 3.984 kB / 472.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1182, allocations: 0 / 472.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.1182, allocations: 0 / 472.9 MB, free: 4.68 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.002441/0.1207, allocations: 0.9617 MB / 473.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1207, allocations: 8.031 kB / 473.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.1236, allocations: 411.9 kB / 474.3 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.1243, allocations: 346.1 kB / 474.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.1243, allocations: 45.69 kB / 474.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1244, allocations: 67.88 kB / 474.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1257, allocations: 0.6354 MB / 475.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1258, allocations: 0 / 475.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.1258, allocations: 23.98 kB / 475.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.1259, allocations: 25.31 kB / 475.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1271, allocations: 0.5712 MB / 476 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.1305, allocations: 2.177 MB / 478.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.132, allocations: 1.192 MB / 479.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.1324, allocations: 191.9 kB / 479.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.1325, allocations: 97.39 kB / 479.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1325, allocations: 38.56 kB / 479.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.874e-06/0.1326, allocations: 0 / 479.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001676/0.1342, allocations: 0.6824 MB / 480.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1343, allocations: 55.41 kB / 480.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1346, allocations: 274.5 kB / 480.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1346, allocations: 33.7 kB / 480.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1348, allocations: 244.3 kB / 480.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1349, allocations: 157.7 kB / 481.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1351, allocations: 78.25 kB / 481.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1352, allocations: 342.8 kB / 481.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.1356, allocations: 159 kB / 481.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.136, allocations: 253.9 kB / 481.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.1368, allocations: 429.8 kB / 482.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1368, allocations: 8 kB / 482.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001103/0.1379, allocations: 0.5296 MB / 482.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1379, allocations: 6.188 kB / 482.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1379, allocations: 7.984 kB / 482.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.1382, allocations: 56.77 kB / 482.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.1387, allocations: 99.88 kB / 483 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.1403, allocations: 1.767 MB / 484.8 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1407, allocations: 59.36 kB / 484.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.1408, allocations: 19.94 kB / 484.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004748/0.1412, allocations: 273.8 kB / 485.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000368/0.1416, allocations: 249.6 kB / 485.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000687/0.1423, allocations: 423.6 kB / 485.8 MB, free: 6.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.1423, allocations: 4 kB / 485.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009909/0.1433, allocations: 0.5012 MB / 486.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1433, allocations: 7.938 kB / 486.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1434, allocations: 4.125 kB / 486.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.1435, allocations: 69.11 kB / 486.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1439, allocations: 95.88 kB / 486.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1455, allocations: 1.759 MB / 488.2 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1459, allocations: 43.53 kB / 488.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.1459, allocations: 23.98 kB / 488.3 MB, free: 4.273 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.0001786/0.1461, allocations: 212.2 kB / 488.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.1462, allocations: 35.56 kB / 488.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1473, allocations: 0.4967 MB / 489.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1473, allocations: 4 kB / 489.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1473, allocations: 0 / 489.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1473, allocations: 3.984 kB / 489.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.149, allocations: 1.087 MB / 490.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1491, allocations: 4.125 kB / 490.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.1494, allocations: 79.89 kB / 490.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.1496, allocations: 56.83 kB / 490.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.1497, allocations: 8 kB / 490.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.1512, allocations: 1.751 MB / 492 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1512, allocations: 4.062 kB / 492 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1526, allocations: 0.7491 MB / 492.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.1528, allocations: 152.5 kB / 492.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.1528, allocations: 16.06 kB / 493 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.1531, allocations: 16.11 kB / 493 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.1532, allocations: 36.39 kB / 493 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.1533, allocations: 15.98 kB / 493 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1535, allocations: 190 kB / 493.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 493.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008789/0.1543, allocations: 235.2 kB / 493.4 MB, free: 14.88 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.0002174/0.1546, allocations: 139.8 kB / 493.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.1564, allocations: 0.9182 MB / 494.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1564, allocations: 0 / 494.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.1569, allocations: 341 kB / 494.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1574, allocations: 42.52 kB / 494.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1591, allocations: 1.093 MB / 496 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1596, allocations: 0.8249 MB / 496.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1597, allocations: 47.36 kB / 496.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1597, allocations: 0 / 496.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.01026/0.17, allocations: 7.251 MB / 0.4923 GB, free: 4.129 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)