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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.5 kB / 15.73 MB, free: 76 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001531/0.001531, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03625/0.03625, allocations: 8.81 MB / 348.7 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 91.8 kB / 463.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09798, allocations: 51.56 MB / 0.5029 GB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005431/0.1035, allocations: 3.979 MB / 0.5068 GB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1061, allocations: 1.569 MB / 0.5083 GB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1063, allocations: 12 kB / 0.5083 GB, free: 4.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.1081, allocations: 0.7658 MB / 0.5091 GB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.1092, allocations: 0.5362 MB / 0.5096 GB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/0.1101, allocations: 488.4 kB / 0.5101 GB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006386/0.1108, allocations: 0.537 MB / 0.5106 GB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007834/0.1116, allocations: 0.5038 MB / 0.5111 GB, free: 1.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.1119, allocations: 239.1 kB / 0.5113 GB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1123, allocations: 310.8 kB / 0.5116 GB, free: 1.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.1124, allocations: 52 kB / 0.5117 GB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.1128, allocations: 215.9 kB / 0.5119 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1129, allocations: 135.5 kB / 0.512 GB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.1132, allocations: 266.7 kB / 0.5122 GB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.1141, allocations: 0.8056 MB / 0.513 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1141, allocations: 0 / 0.513 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1141, allocations: 0 / 0.513 GB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1141, allocations: 0 / 0.513 GB, free: 15.6 MB / 366.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.002003/0.1162, allocations: 0.951 MB / 0.514 GB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1162, allocations: 8.031 kB / 0.514 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.1164, allocations: 111.9 kB / 0.5141 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.1191, allocations: 412.2 kB / 0.5145 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.1196, allocations: 357.4 kB / 0.5148 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.1197, allocations: 53.44 kB / 0.5149 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.1198, allocations: 63.94 kB / 0.5149 GB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1209, allocations: 0.6393 MB / 0.5155 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.121, allocations: 0 / 0.5155 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.121, allocations: 24 kB / 0.5156 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1211, allocations: 20 kB / 0.5156 GB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1222, allocations: 0.579 MB / 0.5162 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.1253, allocations: 2.178 MB / 0.5183 GB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1269, allocations: 1.183 MB / 0.5194 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.1273, allocations: 200.7 kB / 0.5196 GB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.1275, allocations: 93.39 kB / 0.5197 GB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1275, allocations: 38.56 kB / 0.5198 GB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.1275, allocations: 0 / 0.5198 GB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001717/0.1292, allocations: 0.6786 MB / 0.5204 GB, free: 7.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1293, allocations: 63.41 kB / 0.5205 GB, free: 7.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1296, allocations: 274.5 kB / 0.5207 GB, free: 7.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.1296, allocations: 33.7 kB / 0.5208 GB, free: 7.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1298, allocations: 252.9 kB / 0.521 GB, free: 6.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.13, allocations: 162.6 kB / 0.5212 GB, free: 6.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1301, allocations: 78.25 kB / 0.5212 GB, free: 6.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1303, allocations: 346.8 kB / 0.5216 GB, free: 6.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.1306, allocations: 159 kB / 0.5217 GB, free: 6.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.1311, allocations: 253.9 kB / 0.522 GB, free: 5.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.1319, allocations: 433.7 kB / 0.5224 GB, free: 5.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1319, allocations: 0 / 0.5224 GB, free: 5.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001066/0.133, allocations: 0.5298 MB / 0.5229 GB, free: 4.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.133, allocations: 4 kB / 0.5229 GB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.133, allocations: 4 kB / 0.5229 GB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.1333, allocations: 60.7 kB / 0.523 GB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.1337, allocations: 95.89 kB / 0.5231 GB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.1353, allocations: 1.771 MB / 0.5248 GB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.1356, allocations: 55.61 kB / 0.5248 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.1357, allocations: 20 kB / 0.5249 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004225/0.1361, allocations: 273.2 kB / 0.5251 GB, free: 2.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003893/0.1365, allocations: 249.6 kB / 0.5254 GB, free: 2.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006956/0.1372, allocations: 423.6 kB / 0.5258 GB, free: 1.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.1372, allocations: 4 kB / 0.5258 GB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000961/0.1382, allocations: 0.5094 MB / 0.5263 GB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.1382, allocations: 4 kB / 0.5263 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1382, allocations: 4 kB / 0.5263 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.1384, allocations: 60.77 kB / 0.5263 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.1387, allocations: 91.89 kB / 0.5264 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1963/0.335, allocations: 1.76 MB / 0.5281 GB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.3354, allocations: 45.52 kB / 0.5282 GB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.3355, allocations: 19.44 kB / 0.5282 GB, free: 22.73 MB / 366.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.0001351/0.3356, allocations: 210.1 kB / 0.5284 GB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.3357, allocations: 32.98 kB / 0.5284 GB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009702/0.3367, allocations: 0.5021 MB / 0.5289 GB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3367, allocations: 7.719 kB / 0.5289 GB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3367, allocations: 2.5 kB / 0.5289 GB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3367, allocations: 2.703 kB / 0.5289 GB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.3381, allocations: 1.088 MB / 0.53 GB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3381, allocations: 3.594 kB / 0.53 GB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.3384, allocations: 81.41 kB / 0.5301 GB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.3386, allocations: 51.44 kB / 0.5301 GB, free: 22.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3386, allocations: 8.938 kB / 0.5301 GB, free: 22.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009758/0.3396, allocations: 1.767 MB / 0.5319 GB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3396, allocations: 0.9062 kB / 0.5319 GB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3408, allocations: 0.7509 MB / 0.5326 GB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.3409, allocations: 148.9 kB / 0.5327 GB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.3409, allocations: 9.641 kB / 0.5327 GB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.3412, allocations: 19.59 kB / 0.5328 GB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.3413, allocations: 38.27 kB / 0.5328 GB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3413, allocations: 15.3 kB / 0.5328 GB, free: 20.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3414, allocations: 193.1 kB / 0.533 GB, free: 20.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3414, allocations: 0 / 0.533 GB, free: 20.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.3422, allocations: 239 kB / 0.5332 GB, free: 20.31 MB / 366.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.001405/0.3436, allocations: 1.324 MB / 0.5345 GB, free: 19.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3451, allocations: 0.8942 MB / 0.5354 GB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3451, allocations: 0 / 0.5354 GB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.3456, allocations: 346 kB / 0.5357 GB, free: 19.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.346, allocations: 46.81 kB / 0.5358 GB, free: 19.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.3505, allocations: 3.791 MB / 0.5395 GB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.3508, allocations: 0.8239 MB / 0.5403 GB, free: 16.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.3511, allocations: 75.16 kB / 0.5403 GB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3513, allocations: 166.8 kB / 0.5405 GB, free: 16.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3513, allocations: 0 / 0.5405 GB, free: 16.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.3876, allocations: 8.715 MB / 0.549 GB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.862/10.25, allocations: 8.5 kB / 0.549 GB, free: 15.38 MB / 366.1 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/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)