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.000993/0.000993, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.393/1.393, allocations: 223.2 MB / 238.9 MB, free: 5.445 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.001386/0.001386, allocations: 185 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03233/0.03233, allocations: 8.797 MB / 350.1 MB, free: 4.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 14.69 kB / 413.1 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 52.56 MB / 465.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003953/0.1074, allocations: 3.243 MB / 468.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.1099, allocations: 1.438 MB / 470.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.1102, allocations: 11.94 kB / 470.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1106, allocations: 135.3 kB / 470.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009645/0.1116, allocations: 456.4 kB / 470.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.1123, allocations: 386.5 kB / 471.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.1128, allocations: 355.2 kB / 471.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.114, allocations: 0.7245 MB / 472.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.1143, allocations: 179.3 kB / 472.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1146, allocations: 239 kB / 472.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.1146, allocations: 24 kB / 472.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.115, allocations: 163.8 kB / 473 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1151, allocations: 79.67 kB / 473 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.1152, allocations: 105.5 kB / 473.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.1158, allocations: 0.6038 MB / 473.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1158, allocations: 0 / 473.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1158, allocations: 0 / 473.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.1158, allocations: 4 kB / 473.7 MB, free: 5.344 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.001916/0.1178, allocations: 0.8659 MB / 474.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1178, allocations: 8.031 kB / 474.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.1205, allocations: 414.9 kB / 475 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.121, allocations: 345.1 kB / 475.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.1211, allocations: 45.31 kB / 475.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.1212, allocations: 60 kB / 475.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1223, allocations: 0.6315 MB / 476.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1223, allocations: 4 kB / 476.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.1224, allocations: 23.95 kB / 476.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.1224, allocations: 29.3 kB / 476.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1235, allocations: 0.579 MB / 476.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.1264, allocations: 2.189 MB / 478.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1279, allocations: 1.196 MB / 480.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/0.128, allocations: 93.41 kB / 480.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.128, allocations: 42.55 kB / 480.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 3.597e-06/0.128, allocations: 4 kB / 480.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001522/0.1295, allocations: 0.687 MB / 480.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1296, allocations: 59.41 kB / 481 MB, free: 13.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1298, allocations: 270.6 kB / 481.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1299, allocations: 33.7 kB / 481.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.13, allocations: 240.3 kB / 481.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1301, allocations: 149.8 kB / 481.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.1302, allocations: 8 kB / 481.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1303, allocations: 346.8 kB / 482 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1306, allocations: 153 kB / 482.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.131, allocations: 253.9 kB / 482.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.1313, allocations: 181.6 kB / 482.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1314, allocations: 0 / 482.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009381/0.1323, allocations: 0.5374 MB / 483.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004147/0.1327, allocations: 1.225 MB / 484.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1327, allocations: 4 kB / 484.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.133, allocations: 52.83 kB / 484.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.1334, allocations: 107.8 kB / 484.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1348, allocations: 1.6 MB / 486.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.1351, allocations: 55.38 kB / 486.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.1352, allocations: 19.98 kB / 486.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.1352, allocations: 8.062 kB / 486.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000848/0.136, allocations: 480 kB / 486.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.136, allocations: 4 kB / 486.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.1362, allocations: 52.83 kB / 486.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.1366, allocations: 99.83 kB / 486.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1377, allocations: 1.52 MB / 488.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.138, allocations: 55.59 kB / 488.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.138, allocations: 27.94 kB / 488.4 MB, free: 5.711 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.0002483/0.1383, allocations: 248.9 kB / 488.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1383, allocations: 35.56 kB / 488.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1394, allocations: 0.5122 MB / 489.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1394, allocations: 7.984 kB / 489.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1394, allocations: 0 / 489.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1394, allocations: 3.984 kB / 489.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.141, allocations: 1.095 MB / 490.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.141, allocations: 0 / 490.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.1414, allocations: 79.89 kB / 490.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.1415, allocations: 56.78 kB / 490.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1416, allocations: 8 kB / 490.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1429, allocations: 1.592 MB / 492.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1429, allocations: 0 / 492.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1442, allocations: 0.7607 MB / 492.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1443, allocations: 148.6 kB / 493 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.1444, allocations: 8 kB / 493 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.1446, allocations: 27.88 kB / 493 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.1447, allocations: 32.39 kB / 493 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.1447, allocations: 15.98 kB / 493 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1449, allocations: 190 kB / 493.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1449, allocations: 0 / 493.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.1458, allocations: 251.2 kB / 493.5 MB, free: 416 kB / 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.0002285/0.146, allocations: 127.2 kB / 493.6 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1476, allocations: 0.907 MB / 494.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1477, allocations: 448 / 494.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.1482, allocations: 349 kB / 494.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1485, allocations: 32.55 kB / 494.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1503, allocations: 1.075 MB / 496 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.1509, allocations: 0.8408 MB / 496.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003592/0.1512, allocations: 67.25 kB / 496.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1513, allocations: 39.42 kB / 496.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1514, allocations: 0 / 496.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.009885/0.1613, allocations: 4.435 MB / 0.4896 GB, free: 8.461 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: