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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009354/0.0009352, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03889/0.03889, allocations: 8.77 MB / 25.64 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 233.9 MB, free: 12.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008058/0.0008055, allocations: 94.27 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 12 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3367, allocations: 84.75 MB / 479.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.337, allocations: 75.97 kB / 479.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04535/0.3823, allocations: 18.03 MB / 497.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3824, allocations: 0 / 497.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.907e-05/0.3824, allocations: 12 kB / 497.4 MB, free: 13.6 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002229/0.3847, allocations: 0.8391 MB / 498.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3847, allocations: 12.03 kB / 498.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.3878, allocations: 459.7 kB / 498.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.3885, allocations: 365.4 kB / 499 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.3885, allocations: 50.38 kB / 499.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.3887, allocations: 72.31 kB / 499.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3903, allocations: 0.7592 MB / 499.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.3903, allocations: 3.938 kB / 499.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.3904, allocations: 28 kB / 499.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.3904, allocations: 16 kB / 500 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.392, allocations: 0.7652 MB / 0.489 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.3962, allocations: 2.616 MB / 0.4915 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.3984, allocations: 2.013 MB / 0.4935 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.3989, allocations: 252.6 kB / 0.4937 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.399, allocations: 89.92 kB / 0.4938 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3991, allocations: 42.98 kB / 0.4939 GB, free: 4.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.587e-06/0.3991, allocations: 3.938 kB / 0.4939 GB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.001798/0.4009, allocations: 0.8167 MB / 0.4947 GB, free: 3.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.401, allocations: 81.55 kB / 0.4948 GB, free: 3.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.4013, allocations: 303.2 kB / 0.495 GB, free: 3.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.4013, allocations: 33.7 kB / 0.4951 GB, free: 3.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4015, allocations: 283.7 kB / 0.4953 GB, free: 3.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4016, allocations: 177.5 kB / 0.4955 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.4017, allocations: 8 kB / 0.4955 GB, free: 2.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4018, allocations: 358.7 kB / 0.4959 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.4022, allocations: 189.2 kB / 0.496 GB, free: 2.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.4027, allocations: 395.6 kB / 0.4964 GB, free: 1.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.4037, allocations: 0.6094 MB / 0.497 GB, free: 1.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.4037, allocations: 4 kB / 0.497 GB, free: 1.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001266/0.405, allocations: 0.6841 MB / 0.4977 GB, free: 456 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.4052, allocations: 273.1 kB / 0.4979 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4052, allocations: 4 kB / 0.498 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.4055, allocations: 64.81 kB / 0.498 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2285/0.634, allocations: 129.2 kB / 0.4981 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.6357, allocations: 1.598 MB / 0.4997 GB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.6363, allocations: 81.16 kB / 0.4998 GB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.6364, allocations: 33.47 kB / 0.4998 GB, free: 94.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.6364, allocations: 4.469 kB / 0.4998 GB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.6377, allocations: 0.6017 MB / 0.5004 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6378, allocations: 5.375 kB / 0.5004 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.638, allocations: 59.17 kB / 0.5005 GB, free: 94.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.6385, allocations: 137.1 kB / 0.5006 GB, free: 94.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.6398, allocations: 1.506 MB / 0.5021 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.6402, allocations: 66.22 kB / 0.5021 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.6403, allocations: 30.78 kB / 0.5022 GB, free: 93.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.6407, allocations: 271.6 kB / 0.5024 GB, free: 93.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6408, allocations: 37.44 kB / 0.5024 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.6424, allocations: 0.5979 MB / 0.503 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6424, allocations: 15.91 kB / 0.503 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6424, allocations: 2.719 kB / 0.503 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6424, allocations: 1.969 kB / 0.5031 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.6448, allocations: 1.25 MB / 0.5043 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6448, allocations: 0 / 0.5043 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.6452, allocations: 94.3 kB / 0.5044 GB, free: 92.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.6454, allocations: 53.7 kB / 0.5044 GB, free: 92.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.6454, allocations: 9.594 kB / 0.5044 GB, free: 92.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.6465, allocations: 1.582 MB / 0.506 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6465, allocations: 7.875 kB / 0.506 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6478, allocations: 0.8912 MB / 0.5068 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.648, allocations: 159.9 kB / 0.507 GB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.648, allocations: 13.34 kB / 0.507 GB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.6483, allocations: 30.47 kB / 0.507 GB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.6484, allocations: 34.64 kB / 0.5071 GB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.6484, allocations: 18.56 kB / 0.5071 GB, free: 91.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.6486, allocations: 205.1 kB / 0.5073 GB, free: 91.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6486, allocations: 0 / 0.5073 GB, free: 91.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001069/0.6497, allocations: 284.1 kB / 0.5076 GB, free: 91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002287/0.6499, allocations: 149.8 kB / 0.5077 GB, free: 90.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.6516, allocations: 1.083 MB / 0.5088 GB, free: 90.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6516, allocations: 3.469 kB / 0.5088 GB, free: 90.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.6521, allocations: 393.6 kB / 0.5091 GB, free: 90.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.6526, allocations: 47.62 kB / 0.5092 GB, free: 90.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.6545, allocations: 1.257 MB / 0.5104 GB, free: 89.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.6548, allocations: 0.8456 MB / 0.5112 GB, free: 89.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.6553, allocations: 81.11 kB / 0.5113 GB, free: 89.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6554, allocations: 41.81 kB / 0.5114 GB, free: 89.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6554, allocations: 4 kB / 0.5114 GB, free: 89.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01013/0.6655, allocations: 5.357 MB / 0.5166 GB, free: 88.89 MB / 378.7 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)