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 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01347/0.01347, allocations: 167.9 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06489/0.06489, allocations: 8.803 MB / 24.67 MB, free: 4.098 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.432/2.432, allocations: 223.2 MB / 250.8 MB, free: 6.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.6 kB / 304.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 12 kB / 367.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4408, allocations: 52.53 MB / 419.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005433/0.4464, allocations: 3.392 MB / 423.2 MB, free: 45.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.4502, allocations: 1.425 MB / 424.6 MB, free: 44.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.4506, allocations: 14.75 kB / 424.6 MB, free: 44.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.4512, allocations: 128 kB / 424.7 MB, free: 44.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4527, allocations: 442.3 kB / 425.2 MB, free: 44.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.4538, allocations: 388.7 kB / 425.6 MB, free: 43.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.4548, allocations: 498.6 kB / 426 MB, free: 43.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.4565, allocations: 0.7148 MB / 426.8 MB, free: 43.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.457, allocations: 189 kB / 426.9 MB, free: 43.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.4573, allocations: 241.6 kB / 427.2 MB, free: 43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.4574, allocations: 23.88 kB / 427.2 MB, free: 43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.458, allocations: 181.7 kB / 427.4 MB, free: 42.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.4581, allocations: 88.89 kB / 427.5 MB, free: 42.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.4582, allocations: 106.5 kB / 427.6 MB, free: 42.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009695/0.4592, allocations: 0.612 MB / 428.2 MB, free: 42.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4592, allocations: 3.938 kB / 428.2 MB, free: 42.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.4592, allocations: 0 / 428.2 MB, free: 42.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.4592, allocations: 1.375 kB / 428.2 MB, free: 42.64 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.002424/0.4617, allocations: 0.8529 MB / 429 MB, free: 42.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.4617, allocations: 10.16 kB / 429 MB, free: 42.06 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.4619, allocations: 107.8 kB / 429.2 MB, free: 41.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/0.4649, allocations: 416.5 kB / 429.6 MB, free: 41.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.4656, allocations: 362.3 kB / 429.9 MB, free: 41.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.4657, allocations: 44.62 kB / 430 MB, free: 41.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4658, allocations: 59.3 kB / 430 MB, free: 41.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.4674, allocations: 0.6423 MB / 430.7 MB, free: 41.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.4675, allocations: 6.562 kB / 430.7 MB, free: 41.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.4676, allocations: 27.89 kB / 430.7 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.4676, allocations: 23.39 kB / 430.7 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.4691, allocations: 0.5821 MB / 431.3 MB, free: 41.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.4734, allocations: 2.2 MB / 433.5 MB, free: 39.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.4751, allocations: 1.187 MB / 434.7 MB, free: 38.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.4755, allocations: 204 kB / 434.9 MB, free: 38.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-05/0.4757, allocations: 91.66 kB / 435 MB, free: 38.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4757, allocations: 38.69 kB / 435 MB, free: 38.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.976e-06/0.4757, allocations: 0 / 435 MB, free: 38.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.002042/0.4778, allocations: 0.6986 MB / 435.7 MB, free: 37.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4778, allocations: 57.47 kB / 435.8 MB, free: 37.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.4782, allocations: 263.7 kB / 436 MB, free: 37.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4783, allocations: 36.33 kB / 436.1 MB, free: 37.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.4785, allocations: 253.8 kB / 436.3 MB, free: 37.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4787, allocations: 149.3 kB / 436.5 MB, free: 37.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.4788, allocations: 10.03 kB / 436.5 MB, free: 37.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4789, allocations: 343.4 kB / 436.8 MB, free: 37.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.4795, allocations: 154.7 kB / 436.9 MB, free: 37.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.4803, allocations: 260.5 kB / 437.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.481, allocations: 185.4 kB / 437.4 MB, free: 36.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.481, allocations: 0 / 437.4 MB, free: 36.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001843/0.4829, allocations: 0.5256 MB / 437.9 MB, free: 36.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.483, allocations: 188.7 kB / 438.1 MB, free: 36.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.4831, allocations: 4.078 kB / 438.1 MB, free: 36.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.4835, allocations: 54.45 kB / 438.1 MB, free: 36.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.4843, allocations: 109 kB / 438.3 MB, free: 36.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.486, allocations: 1.583 MB / 439.8 MB, free: 34.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.4864, allocations: 62.58 kB / 439.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.4865, allocations: 22.69 kB / 439.9 MB, free: 34.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4865, allocations: 4.156 kB / 439.9 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/0.4876, allocations: 477.6 kB / 440.4 MB, free: 34.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4876, allocations: 3.781 kB / 440.4 MB, free: 34.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.4878, allocations: 57.52 kB / 440.5 MB, free: 34.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.4883, allocations: 99.89 kB / 440.5 MB, free: 34.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.4894, allocations: 1.498 MB / 442 MB, free: 32.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.4897, allocations: 53.39 kB / 442.1 MB, free: 32.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.4898, allocations: 18.53 kB / 442.1 MB, free: 32.9 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 (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.0003379/0.4901, allocations: 264.5 kB / 442.4 MB, free: 32.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.4902, allocations: 39.19 kB / 442.4 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.4915, allocations: 0.5062 MB / 442.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4915, allocations: 4.562 kB / 442.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4915, allocations: 0.8125 kB / 442.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4915, allocations: 9.109 kB / 442.9 MB, free: 32.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.4935, allocations: 1.087 MB / 444 MB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4936, allocations: 0.9062 kB / 444 MB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.494, allocations: 77.02 kB / 444.1 MB, free: 31.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.4942, allocations: 55.39 kB / 444.2 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.4943, allocations: 15.3 kB / 444.2 MB, free: 31.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.496, allocations: 1.59 MB / 445.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4961, allocations: 3.938 kB / 445.8 MB, free: 29.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4975, allocations: 0.7562 MB / 446.5 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.4977, allocations: 144.7 kB / 446.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.526e-05/0.4978, allocations: 8 kB / 446.7 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.498, allocations: 20.05 kB / 446.7 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4981, allocations: 40.34 kB / 446.7 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4982, allocations: 15.98 kB / 446.7 MB, free: 28.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4984, allocations: 190 kB / 446.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4984, allocations: 0 / 446.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001047/0.4995, allocations: 243.1 kB / 447.2 MB, free: 28.51 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 (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.001796/0.5013, allocations: 1.325 MB / 448.5 MB, free: 27.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.503, allocations: 0.9149 MB / 449.4 MB, free: 26.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.503, allocations: 0.875 kB / 449.4 MB, free: 26.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.5035, allocations: 353 kB / 449.7 MB, free: 25.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.5041, allocations: 42.36 kB / 449.8 MB, free: 25.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.5082, allocations: 2.432 MB / 452.2 MB, free: 23.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5085, allocations: 0.8252 MB / 453 MB, free: 22.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.5089, allocations: 75.23 kB / 453.1 MB, free: 22.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.5092, allocations: 163.4 kB / 453.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5092, allocations: 0 / 453.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.531, allocations: 7.984 MB / 461.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.5313, allocations: 212.7 kB / 461.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/3.967, allocations: 0 / 461.5 MB, free: 14.16 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)