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.002387/0.002387, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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 1.625/1.625, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 MB " [Timeout remaining time 178] 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.002206/0.002206, allocations: 164.5 kB / 256.3 MB, free: 13.16 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.0414/0.0414, allocations: 6.662 MB / 319.4 MB, free: 26.58 MB / 266.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.393e-06/1.393e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.195e-05, allocations: 2.312 kB / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.006434/0.006466, allocations: 3.892 MB / 394.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.009785, allocations: 1.581 MB / 396.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.01004, allocations: 15.94 kB / 396.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.0121, allocations: 0.8048 MB / 397.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009848/0.01308, allocations: 377.8 kB / 397.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.01441, allocations: 0.6065 MB / 398.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007663/0.01517, allocations: 0.5602 MB / 398.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007484/0.01592, allocations: 448.1 kB / 399.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.01646, allocations: 359.1 kB / 399.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.0168, allocations: 231.4 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.0169, allocations: 56 kB / 399.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.01736, allocations: 215.7 kB / 400 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.01749, allocations: 135.5 kB / 400.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.0177, allocations: 183.5 kB / 400.3 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.0188, allocations: 0.8449 MB / 401.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0188, allocations: 0 / 401.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0188, allocations: 0 / 401.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.01881, allocations: 0 / 401.2 MB, free: 8.668 MB / 330.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.002122/0.02093, allocations: 1.018 MB / 402.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.02097, allocations: 8.031 kB / 402.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.0238, allocations: 0.5 MB / 402.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.02441, allocations: 312.6 kB / 403 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.02446, allocations: 45.69 kB / 403 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.02457, allocations: 56.38 kB / 403.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.0259, allocations: 0.7032 MB / 403.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.02593, allocations: 8 kB / 403.8 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.026, allocations: 20 kB / 403.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.02601, allocations: 12 kB / 403.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.02711, allocations: 0.5517 MB / 404.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.03059, allocations: 2.025 MB / 406.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.03185, allocations: 477.6 kB / 406.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.03219, allocations: 171.6 kB / 407.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9e-05/0.03228, allocations: 23.97 kB / 407.1 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.03233, allocations: 45.33 kB / 407.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.03233, allocations: 0 / 407.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001585/0.03391, allocations: 0.5828 MB / 407.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.03397, allocations: 63.36 kB / 407.8 MB, free: 1.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.03425, allocations: 283.1 kB / 408 MB, free: 1.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.03429, allocations: 41.7 kB / 408.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.03452, allocations: 315.4 kB / 408.4 MB, free: 1.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.03467, allocations: 163 kB / 408.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.03483, allocations: 103.8 kB / 408.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/0.03512, allocations: 0.5157 MB / 409.2 MB, free: 388 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.03543, allocations: 145.6 kB / 409.3 MB, free: 236 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1335/0.1689, allocations: 292.1 kB / 409.6 MB, free: 82.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/0.1697, allocations: 459.6 kB / 410 MB, free: 82.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1697, allocations: 1.5 kB / 410 MB, free: 82.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001046/0.1708, allocations: 0.5194 MB / 410.6 MB, free: 82.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.1708, allocations: 11.19 kB / 410.6 MB, free: 82.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1708, allocations: 3 kB / 410.6 MB, free: 82.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.1712, allocations: 74.64 kB / 410.7 MB, free: 82.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.1716, allocations: 96.08 kB / 410.7 MB, free: 82.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.1731, allocations: 2.258 MB / 413 MB, free: 80.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1734, allocations: 45.84 kB / 413.1 MB, free: 80.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.1734, allocations: 20.73 kB / 413.1 MB, free: 80.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004557/0.1739, allocations: 306.5 kB / 413.4 MB, free: 80.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003418/0.1742, allocations: 289 kB / 413.7 MB, free: 79.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006243/0.1748, allocations: 454 kB / 414.1 MB, free: 79.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.1748, allocations: 5.812 kB / 414.1 MB, free: 79.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009467/0.1758, allocations: 0.5148 MB / 414.6 MB, free: 79.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1758, allocations: 7.25 kB / 414.6 MB, free: 79.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1758, allocations: 3.156 kB / 414.6 MB, free: 79.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.1761, allocations: 75.12 kB / 414.7 MB, free: 79.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.1764, allocations: 98.06 kB / 414.8 MB, free: 79.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.178, allocations: 2.252 MB / 417 MB, free: 77.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1782, allocations: 37.78 kB / 417.1 MB, free: 77.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.1783, allocations: 23.34 kB / 417.1 MB, free: 77.29 MB / 330.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 0.0001742/0.1785, allocations: 303.5 kB / 417.4 MB, free: 77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.1785, allocations: 44.41 kB / 417.4 MB, free: 76.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1796, allocations: 487.1 kB / 417.9 MB, free: 76.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1796, allocations: 9.375 kB / 417.9 MB, free: 76.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1796, allocations: 5.094 kB / 417.9 MB, free: 76.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1796, allocations: 2.344 kB / 417.9 MB, free: 76.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1812, allocations: 1.044 MB / 419 MB, free: 76.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1812, allocations: 0.6562 kB / 419 MB, free: 76.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.1815, allocations: 79.03 kB / 419.1 MB, free: 76.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.1818, allocations: 68.05 kB / 419.1 MB, free: 76.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.1818, allocations: 9.203 kB / 419.1 MB, free: 76.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.1831, allocations: 2.251 MB / 421.4 MB, free: 74.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1831, allocations: 0 / 421.4 MB, free: 74.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1843, allocations: 0.7773 MB / 422.2 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1844, allocations: 59.3 kB / 422.2 MB, free: 73.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1845, allocations: 14.77 kB / 422.2 MB, free: 73.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1847, allocations: 17.5 kB / 422.3 MB, free: 73.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.1848, allocations: 40.39 kB / 422.3 MB, free: 73.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.1848, allocations: 11.66 kB / 422.3 MB, free: 73.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.185, allocations: 189.3 kB / 422.5 MB, free: 73.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.185, allocations: 1.094 kB / 422.5 MB, free: 73.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009633/0.1859, allocations: 255.9 kB / 422.7 MB, free: 73.37 MB / 330.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.0002439/0.1862, allocations: 139.4 kB / 422.9 MB, free: 73.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.188, allocations: 1.002 MB / 423.9 MB, free: 72.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.188, allocations: 1.031 kB / 423.9 MB, free: 72.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.1886, allocations: 393.9 kB / 424.3 MB, free: 72.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.189, allocations: 45.31 kB / 424.3 MB, free: 72.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1904, allocations: 0.8295 MB / 425.1 MB, free: 71.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1906, allocations: 219.6 kB / 425.4 MB, free: 71.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.1909, allocations: 67.8 kB / 425.4 MB, free: 71.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.191, allocations: 37.89 kB / 425.5 MB, free: 71.84 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.191, allocations: 0 / 425.5 MB, free: 71.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01089/0.2019, allocations: 4.55 MB / 430 MB, free: 70.8 MB / 330.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: 5.13038836105261]