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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 245.5 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 202.8 kB / 300.5 MB, free: 9.852 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04297/0.04297, allocations: 8.944 MB / 364.3 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] 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=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 84.14 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08849, allocations: 54.42 MB / 0.5289 GB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005687/0.09418, allocations: 3.994 MB / 0.5328 GB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.09672, allocations: 1.589 MB / 0.5344 GB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.0969, allocations: 12 kB / 0.5344 GB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.09879, allocations: 0.7817 MB / 0.5352 GB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.09994, allocations: 0.5269 MB / 0.5357 GB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.101, allocations: 491.1 kB / 0.5362 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.1017, allocations: 0.5448 MB / 0.5367 GB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006781/0.1023, allocations: 408.1 kB / 0.5371 GB, free: 8.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.1027, allocations: 239.1 kB / 0.5373 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.103, allocations: 302.8 kB / 0.5376 GB, free: 8.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.1031, allocations: 56 kB / 0.5376 GB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.1036, allocations: 219.8 kB / 0.5379 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1038, allocations: 127.6 kB / 0.538 GB, free: 7.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.104, allocations: 270.6 kB / 0.5382 GB, free: 7.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009678/0.105, allocations: 0.8094 MB / 0.539 GB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.105, allocations: 0 / 0.539 GB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.105, allocations: 0 / 0.539 GB, free: 6.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.105, allocations: 4 kB / 0.539 GB, free: 6.531 MB / 350.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.002271/0.1073, allocations: 0.9471 MB / 0.5399 GB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1073, allocations: 8.031 kB / 0.54 GB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.1104, allocations: 412.2 kB / 0.5404 GB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.1109, allocations: 357.4 kB / 0.5407 GB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.111, allocations: 45.69 kB / 0.5407 GB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.1111, allocations: 63.94 kB / 0.5408 GB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1123, allocations: 0.6276 MB / 0.5414 GB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1124, allocations: 0 / 0.5414 GB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.1124, allocations: 24 kB / 0.5414 GB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1124, allocations: 16 kB / 0.5414 GB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1137, allocations: 0.5751 MB / 0.542 GB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.1171, allocations: 2.174 MB / 0.5441 GB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.1188, allocations: 1.137 MB / 0.5452 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.1191, allocations: 172.8 kB / 0.5454 GB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.233e-05/0.1192, allocations: 89.41 kB / 0.5455 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1192, allocations: 38.56 kB / 0.5455 GB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.1192, allocations: 3.938 kB / 0.5455 GB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001755/0.121, allocations: 0.6825 MB / 0.5462 GB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.121, allocations: 59.39 kB / 0.5463 GB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1213, allocations: 270.6 kB / 0.5465 GB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1214, allocations: 37.69 kB / 0.5465 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1216, allocations: 256.8 kB / 0.5468 GB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1217, allocations: 150.7 kB / 0.5469 GB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.1218, allocations: 90.2 kB / 0.547 GB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.122, allocations: 338.8 kB / 0.5473 GB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.1224, allocations: 163 kB / 0.5475 GB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.1228, allocations: 253.9 kB / 0.5477 GB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.1237, allocations: 429.8 kB / 0.5482 GB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1237, allocations: 4 kB / 0.5482 GB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001162/0.1248, allocations: 0.5297 MB / 0.5487 GB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1248, allocations: 4 kB / 0.5487 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1249, allocations: 4 kB / 0.5487 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/0.1251, allocations: 52.83 kB / 0.5487 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.1256, allocations: 100 kB / 0.5488 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.1273, allocations: 1.771 MB / 0.5506 GB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1276, allocations: 63.61 kB / 0.5506 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.1277, allocations: 23.92 kB / 0.5506 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004536/0.1281, allocations: 265.2 kB / 0.5509 GB, free: 9.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004259/0.1285, allocations: 249.6 kB / 0.5511 GB, free: 9.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007626/0.1293, allocations: 431.6 kB / 0.5515 GB, free: 8.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.1293, allocations: 0 / 0.5515 GB, free: 8.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001028/0.1303, allocations: 0.5091 MB / 0.552 GB, free: 8.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1304, allocations: 7.938 kB / 0.552 GB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1304, allocations: 4 kB / 0.5521 GB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.1305, allocations: 57.3 kB / 0.5521 GB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.1309, allocations: 103.8 kB / 0.5522 GB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.1326, allocations: 1.759 MB / 0.5539 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.1329, allocations: 39.77 kB / 0.554 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.1329, allocations: 20 kB / 0.554 GB, free: 6.203 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.0001615/0.1331, allocations: 216 kB / 0.5542 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.1331, allocations: 35.81 kB / 0.5542 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1343, allocations: 0.5045 MB / 0.5547 GB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1343, allocations: 4 kB / 0.5547 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1343, allocations: 4 kB / 0.5547 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1343, allocations: 0 / 0.5547 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.1361, allocations: 1.08 MB / 0.5558 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1361, allocations: 0 / 0.5558 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.1365, allocations: 83.83 kB / 0.5559 GB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.1367, allocations: 52.89 kB / 0.5559 GB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.1368, allocations: 19.98 kB / 0.5559 GB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.1384, allocations: 1.755 MB / 0.5576 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1384, allocations: 4.062 kB / 0.5576 GB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1398, allocations: 0.7425 MB / 0.5584 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.14, allocations: 156.7 kB / 0.5585 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.1401, allocations: 12.06 kB / 0.5585 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.1403, allocations: 15.98 kB / 0.5585 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1404, allocations: 32.39 kB / 0.5586 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1404, allocations: 12 kB / 0.5586 GB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.1406, allocations: 198 kB / 0.5588 GB, free: 1.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1406, allocations: 0 / 0.5588 GB, free: 1.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000788/0.1414, allocations: 239.3 kB / 0.559 GB, free: 0.8008 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.0002349/0.1417, allocations: 138.2 kB / 0.5591 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1433, allocations: 0.8443 MB / 0.56 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1433, allocations: 0 / 0.56 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.1439, allocations: 321 kB / 0.5603 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1443, allocations: 48.48 kB / 0.5603 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1457, allocations: 0.8963 MB / 0.5612 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.1462, allocations: 0.8249 MB / 0.562 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1464, allocations: 39.42 kB / 0.562 GB, free: 13.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1464, allocations: 0 / 0.562 GB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01114/0.1575, allocations: 7.322 MB / 0.5692 GB, free: 6.281 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.431771681876853] Failed to read output from testmodel.py, exit status != 0: 0.3070934999268502 0.188080037 0.078934865 Calling exit ...