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.0008878/0.0008879, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.3 MB / 240 MB, free: 5.5 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.0009572/0.0009573, allocations: 180.5 kB / 291.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03599/0.03599, allocations: 8.805 MB / 351.2 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12.31 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06341/0.06375, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003639/0.06741, allocations: 3.566 MB / 470.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.06978, allocations: 1.542 MB / 472.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.07002, allocations: 12 kB / 472.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.07047, allocations: 175.2 kB / 472.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.07152, allocations: 491.8 kB / 472.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.07238, allocations: 466.8 kB / 473.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005399/0.07293, allocations: 0.5097 MB / 473.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.07421, allocations: 0.8029 MB / 474.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.07446, allocations: 187.2 kB / 474.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.07474, allocations: 262.8 kB / 475 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.0748, allocations: 24 kB / 475 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.07513, allocations: 183.9 kB / 475.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.07521, allocations: 91.48 kB / 475.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.07541, allocations: 256.4 kB / 475.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.07596, allocations: 0.6039 MB / 476.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.07597, allocations: 0 / 476.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07598, allocations: 0 / 476.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.07599, allocations: 0 / 476.2 MB, free: 3.93 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.001909/0.07791, allocations: 0.8622 MB / 477 MB, free: 3.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.07794, allocations: 8.031 kB / 477 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.0808, allocations: 415.9 kB / 477.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.08126, allocations: 349.3 kB / 477.8 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.08131, allocations: 45.69 kB / 477.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.08141, allocations: 63.94 kB / 477.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.08251, allocations: 0.6354 MB / 478.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.08254, allocations: 7.984 kB / 478.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.08261, allocations: 24 kB / 478.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.08264, allocations: 25.31 kB / 478.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.08378, allocations: 0.5829 MB / 479.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.0867, allocations: 2.192 MB / 481.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.08813, allocations: 1.184 MB / 482.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.08853, allocations: 204.8 kB / 482.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.508e-05/0.08861, allocations: 89.09 kB / 482.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.08864, allocations: 38.5 kB / 482.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.834e-06/0.08865, allocations: 0 / 482.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001634/0.09029, allocations: 0.7096 MB / 483.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.09033, allocations: 55.41 kB / 483.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.09059, allocations: 266.6 kB / 483.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.09063, allocations: 33.7 kB / 483.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.09077, allocations: 252.6 kB / 484.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.09088, allocations: 153.8 kB / 484.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.09094, allocations: 37.7 kB / 484.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.09105, allocations: 346.8 kB / 484.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.0914, allocations: 149 kB / 484.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.09181, allocations: 257.9 kB / 485.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.0926, allocations: 453.8 kB / 485.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.09261, allocations: 0 / 485.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001052/0.09367, allocations: 0.5372 MB / 486.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/0.09377, allocations: 180.4 kB / 486.2 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.09379, allocations: 7.938 kB / 486.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.09402, allocations: 56.83 kB / 486.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.09446, allocations: 103.8 kB / 486.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.09576, allocations: 1.588 MB / 488 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.09609, allocations: 67.3 kB / 488.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.09614, allocations: 19.94 kB / 488.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.09615, allocations: 4 kB / 488.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009229/0.09708, allocations: 484 kB / 488.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0971, allocations: 4.406 kB / 488.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.09726, allocations: 56.95 kB / 488.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.09767, allocations: 103.8 kB / 488.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.09882, allocations: 1.507 MB / 490.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.0991, allocations: 47.53 kB / 490.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.09914, allocations: 23.98 kB / 490.3 MB, free: 4.836 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.0002021/0.09935, allocations: 257.7 kB / 490.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.09942, allocations: 35.56 kB / 490.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1005, allocations: 0.5122 MB / 491.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1006, allocations: 4 kB / 491.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1006, allocations: 8 kB / 491.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1006, allocations: 7.922 kB / 491.1 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1022, allocations: 1.088 MB / 492.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1022, allocations: 0 / 492.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.1026, allocations: 83.89 kB / 492.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.1028, allocations: 48.95 kB / 492.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.1028, allocations: 16 kB / 492.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.104, allocations: 1.588 MB / 493.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1041, allocations: 48 / 493.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1054, allocations: 0.7608 MB / 494.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1055, allocations: 144.7 kB / 494.8 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1056, allocations: 12 kB / 494.8 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.1059, allocations: 27.98 kB / 494.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.106, allocations: 28.39 kB / 494.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.106, allocations: 19.98 kB / 494.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1062, allocations: 190 kB / 495.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1062, allocations: 0 / 495.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00072/0.1069, allocations: 235.1 kB / 495.3 MB, free: 15.54 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.0001745/0.1071, allocations: 147.7 kB / 495.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.1086, allocations: 0.9063 MB / 496.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1087, allocations: 0 / 496.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.1092, allocations: 353.7 kB / 496.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1096, allocations: 46.52 kB / 496.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.111, allocations: 1.151 MB / 497.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1114, allocations: 0.8213 MB / 498.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1115, allocations: 43.42 kB / 498.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1115, allocations: 0 / 498.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Templates: time 0.008862/0.1204, allocations: 7.21 MB / 0.4941 GB, free: 4.77 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)