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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 1.058/1.058, allocations: 177.2 MB / 200.5 MB, free: 5.535 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.001257/0.001257, allocations: 164.3 kB / 257 MB, free: 13.05 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.02344/0.02344, allocations: 6.654 MB / 320.1 MB, free: 26.6 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 2.335e-06/2.335e-06, allocations: 0 / 391.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.364e-05, allocations: 13.56 kB / 391.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.00412/0.004154, allocations: 3.912 MB / 395.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.005892, allocations: 1.592 MB / 397.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.00605, allocations: 15.94 kB / 397.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.007085, allocations: 0.8048 MB / 398 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.007637, allocations: 385.7 kB / 398.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.008281, allocations: 0.5916 MB / 398.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.008741, allocations: 0.5636 MB / 399.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.009267, allocations: 452.1 kB / 400 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.009582, allocations: 355.2 kB / 400.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.009785, allocations: 231.3 kB / 400.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.009836, allocations: 56 kB / 400.6 MB, free: 10 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.01009, allocations: 227.6 kB / 400.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.01016, allocations: 131.5 kB / 400.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.01028, allocations: 179.6 kB / 401.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.01096, allocations: 0.576 MB / 401.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01097, allocations: 0 / 401.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01097, allocations: 0 / 401.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01097, allocations: 0 / 401.7 MB, free: 8.898 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.001282/0.01226, allocations: 0.9833 MB / 402.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.0123, allocations: 8.031 kB / 402.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.01397, allocations: 0.5 MB / 403.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.01432, allocations: 297.6 kB / 403.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.01435, allocations: 57.61 kB / 403.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.01443, allocations: 60.38 kB / 403.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.01506, allocations: 0.5555 MB / 404.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01508, allocations: 0 / 404.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.01512, allocations: 31.98 kB / 404.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.01513, allocations: 12 kB / 404.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.01558, allocations: 331.5 kB / 404.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.0174, allocations: 1.778 MB / 406.3 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.01808, allocations: 445.7 kB / 406.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01823, allocations: 115.6 kB / 406.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.01829, allocations: 27.98 kB / 406.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.01832, allocations: 41.39 kB / 406.9 MB, free: 3.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.01832, allocations: 3.938 kB / 406.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007549/0.01907, allocations: 448.7 kB / 407.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.0191, allocations: 55.41 kB / 407.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.01926, allocations: 259 kB / 407.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01928, allocations: 29.7 kB / 407.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.0194, allocations: 311.4 kB / 408 MB, free: 2.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.01948, allocations: 155 kB / 408.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.01957, allocations: 95.8 kB / 408.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01985, allocations: 0.5157 MB / 408.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.01997, allocations: 81.64 kB / 408.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.02015, allocations: 224.9 kB / 409 MB, free: 1.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.02048, allocations: 337.3 kB / 409.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02048, allocations: 0 / 409.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004795/0.02096, allocations: 413.3 kB / 409.8 MB, free: 384 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.02098, allocations: 4 kB / 409.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02099, allocations: 8 kB / 409.8 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.02122, allocations: 67.83 kB / 409.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.02143, allocations: 95.83 kB / 409.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1322/0.1537, allocations: 2.133 MB / 412.1 MB, free: 80.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.1539, allocations: 42.28 kB / 412.1 MB, free: 80.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.154, allocations: 19.53 kB / 412.1 MB, free: 80.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000248/0.1542, allocations: 211.6 kB / 412.3 MB, free: 80.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000188/0.1544, allocations: 224.4 kB / 412.6 MB, free: 80.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000319/0.1547, allocations: 337.4 kB / 412.9 MB, free: 80.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.1547, allocations: 1.094 kB / 412.9 MB, free: 80.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005103/0.1552, allocations: 401.3 kB / 413.3 MB, free: 80.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1552, allocations: 6.938 kB / 413.3 MB, free: 80.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1552, allocations: 3.938 kB / 413.3 MB, free: 80.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.1554, allocations: 65.12 kB / 413.4 MB, free: 80.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1556, allocations: 96.33 kB / 413.5 MB, free: 80.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/0.1564, allocations: 2.145 MB / 415.6 MB, free: 78.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1565, allocations: 37.36 kB / 415.6 MB, free: 78.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1565, allocations: 20.72 kB / 415.7 MB, free: 78.14 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.000103/0.1566, allocations: 291.5 kB / 415.9 MB, free: 77.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.1567, allocations: 46.95 kB / 416 MB, free: 77.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.1572, allocations: 381.7 kB / 416.4 MB, free: 77.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1572, allocations: 5.344 kB / 416.4 MB, free: 77.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1572, allocations: 2.859 kB / 416.4 MB, free: 77.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1572, allocations: 10.12 kB / 416.4 MB, free: 77.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.1581, allocations: 0.853 MB / 417.2 MB, free: 77.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1581, allocations: 2.594 kB / 417.2 MB, free: 77.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.1583, allocations: 74.58 kB / 417.3 MB, free: 77.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001527/0.1584, allocations: 61.42 kB / 417.4 MB, free: 77.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1585, allocations: 13.3 kB / 417.4 MB, free: 77.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007091/0.1592, allocations: 2.141 MB / 419.5 MB, free: 75.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1592, allocations: 4.719 kB / 419.5 MB, free: 75.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.1598, allocations: 0.5697 MB / 420.1 MB, free: 75.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.1599, allocations: 69.05 kB / 420.2 MB, free: 75.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.1599, allocations: 10.94 kB / 420.2 MB, free: 75.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.16, allocations: 17.33 kB / 420.2 MB, free: 75.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.1601, allocations: 32.97 kB / 420.2 MB, free: 75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1601, allocations: 10.61 kB / 420.2 MB, free: 75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.1602, allocations: 170.4 kB / 420.4 MB, free: 74.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1602, allocations: 2.25 kB / 420.4 MB, free: 74.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006159/0.1608, allocations: 256.2 kB / 420.6 MB, free: 74.82 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.0002029/0.161, allocations: 139.4 kB / 420.8 MB, free: 74.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.1618, allocations: 0.8127 MB / 421.6 MB, free: 74.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1618, allocations: 1.031 kB / 421.6 MB, free: 74.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1621, allocations: 346.5 kB / 421.9 MB, free: 74.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1624, allocations: 45.08 kB / 422 MB, free: 74.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1637, allocations: 0.7744 MB / 422.8 MB, free: 73.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.1637, allocations: 120.9 kB / 422.9 MB, free: 73.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1639, allocations: 66.2 kB / 422.9 MB, free: 73.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.164, allocations: 37.38 kB / 423 MB, free: 73.48 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.164, allocations: 0 / 423 MB, free: 73.48 MB / 330.7 MB Notification: Performance of Templates: time 0.007599/0.1716, allocations: 4.559 MB / 427.5 MB, free: 72.67 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: 3.216538415988907]