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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9387/0.9387, allocations: 177.2 MB / 200.3 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 167.1 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04776/0.04776, allocations: 6.66 MB / 266.9 MB, free: 3.059 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.312e-06/1.312e-06, allocations: 0 / 285.6 MB, free: 356 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.786e-05, allocations: 9.766 kB / 285.6 MB, free: 348 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.1052/0.1053, allocations: 3.869 MB / 289.5 MB, free: 20.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.107, allocations: 1.635 MB / 291.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1071, allocations: 17.81 kB / 291.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.1081, allocations: 0.8077 MB / 292 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1086, allocations: 387.3 kB / 292.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1092, allocations: 0.5996 MB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.1096, allocations: 0.5596 MB / 293.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.11, allocations: 482.6 kB / 294 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.1103, allocations: 359.4 kB / 294.3 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1105, allocations: 230.3 kB / 294.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.1106, allocations: 52.28 kB / 294.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1108, allocations: 224.8 kB / 294.8 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1109, allocations: 123.6 kB / 295 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.111, allocations: 176.6 kB / 295.1 MB, free: 17.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1115, allocations: 0.5666 MB / 295.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1115, allocations: 0 / 295.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1115, allocations: 0.6562 kB / 295.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1115, allocations: 1.875 kB / 295.7 MB, free: 16.8 MB / 266.7 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.001062/0.1125, allocations: 0.876 MB / 296.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.1126, allocations: 9.531 kB / 296.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.1141, allocations: 0.5348 MB / 297.1 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1143, allocations: 221.3 kB / 297.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1143, allocations: 47.09 kB / 297.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.1144, allocations: 60.05 kB / 297.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1148, allocations: 421.1 kB / 297.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1148, allocations: 1.125 kB / 297.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.1148, allocations: 26.53 kB / 297.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1148, allocations: 13.41 kB / 297.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.1151, allocations: 230.7 kB / 298.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1165, allocations: 1.464 MB / 299.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.117, allocations: 384.9 kB / 300 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.117, allocations: 78.95 kB / 300 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.1171, allocations: 27.69 kB / 300.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.1171, allocations: 38.69 kB / 300.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.433e-06/0.1171, allocations: 0 / 300.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004856/0.1176, allocations: 320.2 kB / 300.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.459e-05/0.1176, allocations: 64.84 kB / 300.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.1177, allocations: 193 kB / 300.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1177, allocations: 36.31 kB / 300.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1178, allocations: 257.9 kB / 300.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1178, allocations: 151.6 kB / 301.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.1179, allocations: 84.83 kB / 301.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.1179, allocations: 337.4 kB / 301.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.118, allocations: 55.77 kB / 301.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.1181, allocations: 166.8 kB / 301.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1182, allocations: 251.8 kB / 302 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1182, allocations: 4.969 kB / 302 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002799/0.1185, allocations: 287.1 kB / 302.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1185, allocations: 9.219 kB / 302.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1185, allocations: 7.578 kB / 302.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.1187, allocations: 55.61 kB / 302.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1189, allocations: 91.36 kB / 302.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000525/0.1194, allocations: 1.447 MB / 303.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1195, allocations: 36.73 kB / 303.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1195, allocations: 18.52 kB / 303.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.273e-05/0.1196, allocations: 141.9 kB / 304.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.038e-05/0.1197, allocations: 168.7 kB / 304.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001683/0.1199, allocations: 249.3 kB / 304.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1199, allocations: 1.344 kB / 304.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0002371/0.1201, allocations: 290.6 kB / 304.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/0.1201, allocations: 4 kB / 304.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1201, allocations: 11.92 kB / 304.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.1202, allocations: 54.08 kB / 304.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1204, allocations: 87.89 kB / 304.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004111/0.1208, allocations: 1.456 MB / 306.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.693e-05/0.1209, allocations: 35.73 kB / 306.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1209, allocations: 12 kB / 306.4 MB, free: 9.117 MB / 266.7 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 5.678e-05/0.121, allocations: 212.1 kB / 306.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.121, allocations: 31.95 kB / 306.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1213, allocations: 284.1 kB / 306.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1213, allocations: 8 kB / 306.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1213, allocations: 7.938 kB / 306.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1213, allocations: 3.984 kB / 306.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.1217, allocations: 0.556 MB / 307.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1217, allocations: 4 kB / 307.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1218, allocations: 67.89 kB / 307.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.776e-05/0.1219, allocations: 60.44 kB / 307.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.122, allocations: 12 kB / 307.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004052/0.1224, allocations: 1.436 MB / 309.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1224, allocations: 4.031 kB / 309.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1226, allocations: 416.9 kB / 309.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.1227, allocations: 43.72 kB / 309.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1227, allocations: 11.31 kB / 309.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.1228, allocations: 12 kB / 309.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1228, allocations: 32.38 kB / 309.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1229, allocations: 15.98 kB / 309.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.841e-05/0.1229, allocations: 43.19 kB / 309.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1229, allocations: 4.031 kB / 309.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.1233, allocations: 259.1 kB / 309.9 MB, free: 5.488 MB / 266.7 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.0001209/0.1234, allocations: 116.3 kB / 310 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.1238, allocations: 0.6248 MB / 310.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1238, allocations: 0 / 310.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1239, allocations: 251.2 kB / 310.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1241, allocations: 37.2 kB / 310.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.1249, allocations: 0.764 MB / 311.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.125, allocations: 123.1 kB / 311.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1251, allocations: 69.8 kB / 311.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1252, allocations: 99.36 kB / 312 MB, free: 3.328 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1252, allocations: 0 / 312 MB, free: 3.328 MB / 266.7 MB Notification: Performance of Templates: time 0.00609/0.1313, allocations: 5 MB / 317 MB, free: 14.4 MB / 282.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.709105986636132]