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.001101/0.001101, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.32/1.32, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001433/0.001433, allocations: 196.4 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03478/0.03478, allocations: 8.801 MB / 349.3 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 83.88 kB / 464.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09489, allocations: 51.55 MB / 0.504 GB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005266/0.1002, allocations: 3.975 MB / 0.5079 GB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1031, allocations: 1.585 MB / 0.5095 GB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.1035, allocations: 8 kB / 0.5095 GB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.1055, allocations: 0.7583 MB / 0.5102 GB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1068, allocations: 0.5361 MB / 0.5107 GB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1078, allocations: 482.5 kB / 0.5112 GB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.1086, allocations: 0.5409 MB / 0.5117 GB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.1095, allocations: 0.5 MB / 0.5122 GB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.1099, allocations: 239.1 kB / 0.5124 GB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.1104, allocations: 306.8 kB / 0.5127 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1105, allocations: 56 kB / 0.5128 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.111, allocations: 219.8 kB / 0.513 GB, free: 384 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1111, allocations: 127.6 kB / 0.5131 GB, free: 256 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.1114, allocations: 270.7 kB / 0.5134 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1124, allocations: 0.8059 MB / 0.5142 GB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1124, allocations: 0 / 0.5142 GB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1124, allocations: 0 / 0.5142 GB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.1125, allocations: 0 / 0.5142 GB, free: 15.18 MB / 366.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.00222/0.1147, allocations: 0.948 MB / 0.5151 GB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1147, allocations: 8.031 kB / 0.5151 GB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.1176, allocations: 399.9 kB / 0.5155 GB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.1182, allocations: 365.3 kB / 0.5158 GB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.1183, allocations: 45.69 kB / 0.5159 GB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.1184, allocations: 63.94 kB / 0.5159 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1196, allocations: 0.6237 MB / 0.5165 GB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1197, allocations: 8 kB / 0.5166 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.1198, allocations: 24 kB / 0.5166 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1198, allocations: 16 kB / 0.5166 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1209, allocations: 0.5673 MB / 0.5171 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.1242, allocations: 2.161 MB / 0.5193 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.1257, allocations: 1.184 MB / 0.5204 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.1261, allocations: 200.1 kB / 0.5206 GB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/0.1262, allocations: 97.08 kB / 0.5207 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1262, allocations: 38.56 kB / 0.5207 GB, free: 8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.1263, allocations: 4 kB / 0.5207 GB, free: 7.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001653/0.1279, allocations: 0.6745 MB / 0.5214 GB, free: 7.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.128, allocations: 59.41 kB / 0.5215 GB, free: 7.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1283, allocations: 274.5 kB / 0.5217 GB, free: 6.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1283, allocations: 33.7 kB / 0.5217 GB, free: 6.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1285, allocations: 244.4 kB / 0.522 GB, free: 6.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.1286, allocations: 149.8 kB / 0.5221 GB, free: 6.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1287, allocations: 90.16 kB / 0.5222 GB, free: 6.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1289, allocations: 342.8 kB / 0.5225 GB, free: 6.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.1292, allocations: 151 kB / 0.5227 GB, free: 5.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.1297, allocations: 261.9 kB / 0.5229 GB, free: 5.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.1305, allocations: 425.8 kB / 0.5233 GB, free: 5.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1305, allocations: 4 kB / 0.5233 GB, free: 5.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001071/0.1316, allocations: 0.5253 MB / 0.5239 GB, free: 4.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1316, allocations: 8.406 kB / 0.5239 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1316, allocations: 4 kB / 0.5239 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.1319, allocations: 64.81 kB / 0.5239 GB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.1323, allocations: 99.83 kB / 0.524 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.134, allocations: 1.763 MB / 0.5257 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.1343, allocations: 51.58 kB / 0.5258 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.1344, allocations: 27.94 kB / 0.5258 GB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004407/0.1348, allocations: 273.2 kB / 0.5261 GB, free: 2.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003696/0.1352, allocations: 253.5 kB / 0.5263 GB, free: 1.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006751/0.1359, allocations: 423.6 kB / 0.5267 GB, free: 1.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.1359, allocations: 3.938 kB / 0.5267 GB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009636/0.1369, allocations: 0.5092 MB / 0.5272 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1369, allocations: 11.94 kB / 0.5272 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1369, allocations: 4 kB / 0.5272 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.1371, allocations: 52.83 kB / 0.5273 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1375, allocations: 99.81 kB / 0.5274 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2027/0.3402, allocations: 1.758 MB / 0.5291 GB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.3406, allocations: 38.42 kB / 0.5291 GB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3407, allocations: 22.58 kB / 0.5292 GB, free: 22.86 MB / 366.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.0001519/0.3408, allocations: 205.4 kB / 0.5294 GB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.3409, allocations: 35.94 kB / 0.5294 GB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009873/0.3419, allocations: 0.5089 MB / 0.5299 GB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3419, allocations: 5.75 kB / 0.5299 GB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3419, allocations: 0 / 0.5299 GB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.342, allocations: 2.859 kB / 0.5299 GB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.3434, allocations: 1.079 MB / 0.5309 GB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3434, allocations: 0 / 0.5309 GB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3438, allocations: 77.5 kB / 0.531 GB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.344, allocations: 58.2 kB / 0.5311 GB, free: 22.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.344, allocations: 8.719 kB / 0.5311 GB, free: 22.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3451, allocations: 1.758 MB / 0.5328 GB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3451, allocations: 2.625 kB / 0.5328 GB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3463, allocations: 0.7472 MB / 0.5335 GB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3464, allocations: 150.6 kB / 0.5337 GB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3465, allocations: 7.859 kB / 0.5337 GB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3467, allocations: 25.05 kB / 0.5337 GB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.3468, allocations: 37.55 kB / 0.5337 GB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3468, allocations: 10.22 kB / 0.5338 GB, free: 20.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.347, allocations: 195.6 kB / 0.5339 GB, free: 20.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.347, allocations: 0 / 0.5339 GB, free: 20.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007945/0.3478, allocations: 236.2 kB / 0.5342 GB, free: 20.41 MB / 366.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.0002095/0.348, allocations: 132.4 kB / 0.5343 GB, free: 20.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3495, allocations: 0.8833 MB / 0.5352 GB, free: 20.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3495, allocations: 0 / 0.5352 GB, free: 20.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.35, allocations: 348.1 kB / 0.5355 GB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3504, allocations: 43.53 kB / 0.5355 GB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3518, allocations: 0.8833 MB / 0.5364 GB, free: 19.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3521, allocations: 0.8223 MB / 0.5372 GB, free: 18.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3523, allocations: 46.83 kB / 0.5372 GB, free: 18.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3523, allocations: 8.562 kB / 0.5372 GB, free: 18.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01088/0.3632, allocations: 7.294 MB / 0.5444 GB, free: 18.23 MB / 366.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)