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.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.249/1.249, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.001301/0.001301, allocations: 200.3 kB / 289.1 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03243/0.03243, allocations: 8.789 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 77.45 kB / 410.4 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07778/0.07906, allocations: 51.56 MB / 461.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004568/0.08366, allocations: 3.992 MB / 465.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.08588, allocations: 1.554 MB / 467.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.08608, allocations: 15.94 kB / 467.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.08761, allocations: 0.7239 MB / 468.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.08855, allocations: 0.4886 MB / 468.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.0894, allocations: 454.9 kB / 469.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.08996, allocations: 0.5097 MB / 469.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.0906, allocations: 450.5 kB / 470.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.09085, allocations: 231.1 kB / 470.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.09113, allocations: 290.8 kB / 470.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.0912, allocations: 43.98 kB / 470.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.09154, allocations: 195.9 kB / 470.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.09163, allocations: 111.6 kB / 471 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.09182, allocations: 266.6 kB / 471.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.09251, allocations: 0.7788 MB / 472 MB, free: 4.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09252, allocations: 0 / 472 MB, free: 4.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09253, allocations: 0 / 472 MB, free: 4.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.09254, allocations: 0 / 472 MB, free: 4.785 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.001905/0.09445, allocations: 0.9558 MB / 473 MB, free: 3.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.09449, allocations: 8.031 kB / 473 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.09705, allocations: 403.9 kB / 473.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.09751, allocations: 365.3 kB / 473.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.09755, allocations: 45.67 kB / 473.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.09764, allocations: 63.94 kB / 473.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.09866, allocations: 0.6354 MB / 474.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.09869, allocations: 0 / 474.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.09874, allocations: 24 kB / 474.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.09877, allocations: 21.31 kB / 474.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.09983, allocations: 0.579 MB / 475.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.1028, allocations: 2.173 MB / 477.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1042, allocations: 1.192 MB / 478.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.1046, allocations: 188.8 kB / 478.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1047, allocations: 89.09 kB / 478.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1047, allocations: 38.56 kB / 478.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.1047, allocations: 0 / 478.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001661/0.1064, allocations: 0.6863 MB / 479.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1065, allocations: 55.41 kB / 479.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1068, allocations: 274.5 kB / 479.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1068, allocations: 29.7 kB / 479.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1069, allocations: 248.3 kB / 480 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1071, allocations: 157.8 kB / 480.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1072, allocations: 82.25 kB / 480.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1074, allocations: 342.8 kB / 480.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.1077, allocations: 151 kB / 480.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1081, allocations: 261.9 kB / 481 MB, free: 11.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.1089, allocations: 437.7 kB / 481.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1089, allocations: 0 / 481.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001064/0.1099, allocations: 0.5254 MB / 482 MB, free: 10.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.11, allocations: 4 kB / 482 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.11, allocations: 4 kB / 482 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.1103, allocations: 57.23 kB / 482 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.1107, allocations: 99.83 kB / 482.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.1122, allocations: 1.584 MB / 483.7 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.1125, allocations: 59.36 kB / 483.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.1125, allocations: 20 kB / 483.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003967/0.1129, allocations: 273.8 kB / 484.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003245/0.1133, allocations: 253.6 kB / 484.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006283/0.1139, allocations: 427.7 kB / 484.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1139, allocations: 3.938 kB / 484.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009304/0.1149, allocations: 0.5128 MB / 485.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.1149, allocations: 4 kB / 485.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1149, allocations: 8 kB / 485.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.1151, allocations: 57.23 kB / 485.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.1154, allocations: 103.8 kB / 485.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.1167, allocations: 1.588 MB / 487 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.117, allocations: 39.67 kB / 487 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.117, allocations: 20 kB / 487.1 MB, free: 4.734 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.0001982/0.1172, allocations: 212.1 kB / 487.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1173, allocations: 35.61 kB / 487.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1183, allocations: 0.5004 MB / 487.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1183, allocations: 4 kB / 487.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1183, allocations: 4 kB / 487.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1184, allocations: 3.984 kB / 487.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1199, allocations: 1.084 MB / 488.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1199, allocations: 7.938 kB / 488.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.1203, allocations: 79.89 kB / 489 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.1204, allocations: 52.81 kB / 489 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1204, allocations: 15.94 kB / 489 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.1216, allocations: 1.58 MB / 490.6 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1216, allocations: 7.922 kB / 490.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1229, allocations: 0.7413 MB / 491.4 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.123, allocations: 152.5 kB / 491.5 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.123, allocations: 12 kB / 491.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.1233, allocations: 16.11 kB / 491.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.1234, allocations: 32.39 kB / 491.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1234, allocations: 16 kB / 491.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1236, allocations: 198 kB / 491.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1236, allocations: 0 / 491.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.1244, allocations: 235.2 kB / 492 MB, free: 15.52 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.0001996/0.1246, allocations: 127.2 kB / 492.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.126, allocations: 0.8945 MB / 493 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.126, allocations: 3.938 kB / 493 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.1265, allocations: 341.8 kB / 493.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1269, allocations: 52.42 kB / 493.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1282, allocations: 1.063 MB / 494.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1285, allocations: 0.8252 MB / 495.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.1288, allocations: 75.23 kB / 495.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.1289, allocations: 35.42 kB / 495.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1289, allocations: 4 kB / 495.4 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.007454/0.1364, allocations: 4.558 MB / 500 MB, free: 7.465 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)