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.000765/0.0007651, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.342/1.342, allocations: 223.3 MB / 239.1 MB, free: 5.609 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.001185/0.001185, allocations: 184.5 kB / 290.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03249/0.03249, allocations: 8.802 MB / 350.2 MB, free: 4.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 9.25 kB / 413.2 MB, free: 43.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09304, allocations: 52.56 MB / 465.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004464/0.09755, allocations: 3.381 MB / 469.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1004, allocations: 1.438 MB / 470.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.1009, allocations: 8 kB / 470.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.1014, allocations: 135.3 kB / 470.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1026, allocations: 435.9 kB / 471.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.1034, allocations: 383.5 kB / 471.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.104, allocations: 0.4902 MB / 472 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.1053, allocations: 0.7283 MB / 472.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.1056, allocations: 183.2 kB / 472.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1059, allocations: 243 kB / 473.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.1059, allocations: 24 kB / 473.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1063, allocations: 183.8 kB / 473.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1064, allocations: 87.61 kB / 473.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.1065, allocations: 113.4 kB / 473.6 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.1071, allocations: 0.596 MB / 474.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1071, allocations: 0 / 474.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1071, allocations: 0 / 474.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1071, allocations: 0 / 474.1 MB, free: 5.184 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.001879/0.109, allocations: 0.8659 MB / 475 MB, free: 4.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.109, allocations: 12.03 kB / 475 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.1116, allocations: 407 kB / 475.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.112, allocations: 352.2 kB / 475.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.1121, allocations: 41.31 kB / 475.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.1122, allocations: 60 kB / 475.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1133, allocations: 0.6354 MB / 476.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1133, allocations: 0 / 476.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.1134, allocations: 31.95 kB / 476.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.1134, allocations: 21.31 kB / 476.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1145, allocations: 0.579 MB / 477.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.1174, allocations: 2.189 MB / 479.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.1188, allocations: 1.188 MB / 480.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1191, allocations: 204.4 kB / 480.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.1192, allocations: 97.39 kB / 480.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1193, allocations: 34.56 kB / 480.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.1193, allocations: 0 / 480.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001484/0.1208, allocations: 0.698 MB / 481.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1208, allocations: 63.39 kB / 481.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.1211, allocations: 258.6 kB / 481.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1211, allocations: 37.69 kB / 481.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1213, allocations: 244.3 kB / 482.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1214, allocations: 149.8 kB / 482.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.1214, allocations: 8 kB / 482.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1216, allocations: 350.8 kB / 482.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.1219, allocations: 153 kB / 482.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1223, allocations: 261.9 kB / 483 MB, free: 11.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.1227, allocations: 193.5 kB / 483.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1227, allocations: 0 / 483.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009804/0.1237, allocations: 0.53 MB / 483.7 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1238, allocations: 180.3 kB / 483.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1238, allocations: 4 kB / 483.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.1241, allocations: 60.78 kB / 484 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.1245, allocations: 99.83 kB / 484.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.126, allocations: 1.58 MB / 485.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1262, allocations: 67.42 kB / 485.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.1263, allocations: 16 kB / 485.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1263, allocations: 4 kB / 485.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008407/0.1272, allocations: 483.8 kB / 486.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1272, allocations: 48 / 486.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.1273, allocations: 57.22 kB / 486.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.1277, allocations: 99.83 kB / 486.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1289, allocations: 1.504 MB / 487.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.1292, allocations: 51.53 kB / 487.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.1292, allocations: 19.98 kB / 487.9 MB, free: 6.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.1295, allocations: 261.6 kB / 488.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.1296, allocations: 31.62 kB / 488.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1307, allocations: 0.5122 MB / 488.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1307, allocations: 8 kB / 488.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1307, allocations: 0 / 488.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1307, allocations: 3.984 kB / 488.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1323, allocations: 1.095 MB / 489.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1323, allocations: 0 / 489.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.1327, allocations: 79.89 kB / 489.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.1329, allocations: 48.83 kB / 490 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.1329, allocations: 12 kB / 490 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.1343, allocations: 1.58 MB / 491.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1343, allocations: 8 kB / 491.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.1355, allocations: 0.7567 MB / 492.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.1357, allocations: 148.6 kB / 492.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.1358, allocations: 12 kB / 492.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.136, allocations: 19.98 kB / 492.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.1361, allocations: 32.45 kB / 492.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1361, allocations: 19.98 kB / 492.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1363, allocations: 193.9 kB / 492.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 0 / 492.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008442/0.1372, allocations: 235.1 kB / 493 MB, free: 1.188 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.1374, allocations: 131.2 kB / 493.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.139, allocations: 0.9068 MB / 494 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.139, allocations: 3.938 kB / 494 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.1395, allocations: 349.7 kB / 494.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.14, allocations: 52.58 kB / 494.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1416, allocations: 1.071 MB / 495.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.142, allocations: 0.8174 MB / 496.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.1423, allocations: 79.23 kB / 496.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1424, allocations: 35.42 kB / 496.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 1.803e-06/0.1424, allocations: 0 / 496.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Templates: time 0.009288/0.1517, allocations: 4.447 MB / 0.4891 GB, free: 9.223 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: