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.00144/0.00144, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.4/1.4, allocations: 222.9 MB / 240 MB, free: 4.531 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.001438/0.001438, allocations: 196.2 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0346/0.0346, allocations: 8.804 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 81.83 kB / 412.5 MB, free: 41.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.0871, allocations: 51.57 MB / 464.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005153/0.09229, allocations: 3.966 MB / 468.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.09475, allocations: 1.573 MB / 469.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.09497, allocations: 12 kB / 469.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.09669, allocations: 0.7687 MB / 470.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.09772, allocations: 0.5324 MB / 470.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.0986, allocations: 493.3 kB / 471.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.09916, allocations: 0.5409 MB / 472 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006912/0.09986, allocations: 0.4998 MB / 472.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.1001, allocations: 235.1 kB / 472.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.1005, allocations: 306.8 kB / 473 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.1005, allocations: 56 kB / 473 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.1009, allocations: 219.8 kB / 473.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.101, allocations: 127.6 kB / 473.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.1013, allocations: 274.6 kB / 473.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.1021, allocations: 0.8021 MB / 474.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1021, allocations: 0 / 474.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1021, allocations: 0 / 474.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1021, allocations: 0 / 474.5 MB, free: 3.148 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.001886/0.104, allocations: 0.9495 MB / 475.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.104, allocations: 8.031 kB / 475.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.1067, allocations: 403.9 kB / 475.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.1073, allocations: 362.6 kB / 476.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.1074, allocations: 45.69 kB / 476.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.1075, allocations: 63.92 kB / 476.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1086, allocations: 0.6276 MB / 476.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.1086, allocations: 4 kB / 476.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.1087, allocations: 20 kB / 476.9 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1087, allocations: 16 kB / 476.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1098, allocations: 0.5712 MB / 477.5 MB, free: 0 / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.1131, allocations: 2.165 MB / 479.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.1146, allocations: 1.189 MB / 480.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.1149, allocations: 188.8 kB / 481 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1151, allocations: 93.09 kB / 481.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1151, allocations: 34.56 kB / 481.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.1151, allocations: 0 / 481.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001638/0.1167, allocations: 0.6824 MB / 481.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1168, allocations: 63.41 kB / 481.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1171, allocations: 274.5 kB / 482.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.1172, allocations: 29.7 kB / 482.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1174, allocations: 244.7 kB / 482.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1175, allocations: 153.8 kB / 482.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1176, allocations: 86.25 kB / 482.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1177, allocations: 334.8 kB / 483 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.1181, allocations: 155 kB / 483.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.1185, allocations: 261.9 kB / 483.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.1192, allocations: 433.8 kB / 483.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1192, allocations: 3.938 kB / 483.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001008/0.1202, allocations: 0.5254 MB / 484.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1203, allocations: 8 kB / 484.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.1203, allocations: 4 kB / 484.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.1206, allocations: 57.23 kB / 484.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.121, allocations: 103.8 kB / 484.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1225, allocations: 1.767 MB / 486.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.1229, allocations: 55.42 kB / 486.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.1229, allocations: 23.94 kB / 486.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004376/0.1234, allocations: 277.9 kB / 486.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003647/0.1237, allocations: 245.5 kB / 486.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006443/0.1244, allocations: 423.6 kB / 487.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.1244, allocations: 3.938 kB / 487.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009412/0.1253, allocations: 0.5051 MB / 487.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1254, allocations: 12.34 kB / 487.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1254, allocations: 8 kB / 487.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.1256, allocations: 52.95 kB / 487.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.126, allocations: 103.8 kB / 488 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1274, allocations: 1.763 MB / 489.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.1277, allocations: 39.59 kB / 489.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.1277, allocations: 23.98 kB / 489.8 MB, free: 2.785 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 (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.0001592/0.1279, allocations: 208.2 kB / 490 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.128, allocations: 35.56 kB / 490.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.129, allocations: 0.5045 MB / 490.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.129, allocations: 4 kB / 490.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1291, allocations: 4 kB / 490.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1291, allocations: 3.984 kB / 490.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1307, allocations: 1.08 MB / 491.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1307, allocations: 4 kB / 491.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.131, allocations: 75.89 kB / 491.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.1312, allocations: 52.95 kB / 491.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.1313, allocations: 16 kB / 491.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.1327, allocations: 1.755 MB / 493.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1327, allocations: 4 kB / 493.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1341, allocations: 0.7462 MB / 494.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1342, allocations: 152.5 kB / 494.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.1343, allocations: 8 kB / 494.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1345, allocations: 19.98 kB / 494.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1346, allocations: 32.39 kB / 494.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1347, allocations: 19.92 kB / 494.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.1349, allocations: 194 kB / 494.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1349, allocations: 0 / 494.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008786/0.1358, allocations: 239.1 kB / 494.9 MB, free: 13.39 MB / 334.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.0002556/0.136, allocations: 131.3 kB / 495.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.1376, allocations: 0.887 MB / 496 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1377, allocations: 0 / 496 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.1382, allocations: 337.8 kB / 496.3 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1386, allocations: 58.45 kB / 496.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1401, allocations: 0.8563 MB / 497.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.1406, allocations: 0.8171 MB / 498 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.1409, allocations: 75.25 kB / 498.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.141, allocations: 35.42 kB / 498.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.141, allocations: 0 / 498.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Templates: time 0.01/0.151, allocations: 4.764 MB / 0.4911 GB, free: 5.355 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile (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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)