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.0007919/0.0007919, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.337/1.337, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.0009832/0.0009831, allocations: 175.6 kB / 290.6 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03713/0.03713, allocations: 8.806 MB / 350.5 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003645, allocations: 9.156 kB / 413.9 MB, free: 42.8 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09931, allocations: 52.56 MB / 466.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005542/0.1049, allocations: 3.558 MB / 470 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1082, allocations: 1.554 MB / 471.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.1085, allocations: 12 kB / 471.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.1091, allocations: 171.2 kB / 471.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.1103, allocations: 492.1 kB / 472.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1113, allocations: 458.4 kB / 472.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.112, allocations: 0.5096 MB / 473.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.1137, allocations: 0.8107 MB / 474 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.1142, allocations: 183.2 kB / 474.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.1146, allocations: 266.8 kB / 474.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.1147, allocations: 20 kB / 474.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.1151, allocations: 187.8 kB / 474.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.1152, allocations: 87.59 kB / 474.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1154, allocations: 252.4 kB / 475 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.1162, allocations: 0.7513 MB / 475.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1162, allocations: 3.938 kB / 475.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1162, allocations: 0 / 475.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1162, allocations: 0 / 475.7 MB, free: 3.742 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.002247/0.1185, allocations: 0.8661 MB / 476.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1185, allocations: 12.03 kB / 476.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.1188, allocations: 107.9 kB / 476.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.1214, allocations: 407.9 kB / 477.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.1219, allocations: 353.3 kB / 477.5 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.122, allocations: 53.44 kB / 477.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1221, allocations: 67.94 kB / 477.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1233, allocations: 0.6432 MB / 478.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1233, allocations: 0 / 478.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1234, allocations: 28 kB / 478.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.1234, allocations: 33.3 kB / 478.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1246, allocations: 0.5829 MB / 478.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.1277, allocations: 2.204 MB / 481.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.1292, allocations: 1.186 MB / 482.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.1296, allocations: 204 kB / 482.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-05/0.1297, allocations: 93.09 kB / 482.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1297, allocations: 34.5 kB / 482.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 4.699e-06/0.1297, allocations: 0 / 482.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001672/0.1314, allocations: 0.7177 MB / 483.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1315, allocations: 59.41 kB / 483.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1318, allocations: 270.6 kB / 483.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1318, allocations: 29.7 kB / 483.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.132, allocations: 248.3 kB / 483.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1321, allocations: 149.8 kB / 484.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.235e-05/0.1322, allocations: 49.62 kB / 484.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1323, allocations: 338.8 kB / 484.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.1327, allocations: 157 kB / 484.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.1331, allocations: 257.9 kB / 484.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.1339, allocations: 449.7 kB / 485.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1339, allocations: 0 / 485.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001036/0.1349, allocations: 0.5374 MB / 485.8 MB, free: 9.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1351, allocations: 177.8 kB / 486 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1351, allocations: 4 kB / 486 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.1354, allocations: 60.81 kB / 486.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1358, allocations: 99.83 kB / 486.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.1375, allocations: 1.6 MB / 487.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.1378, allocations: 55.44 kB / 487.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.1379, allocations: 19.98 kB / 487.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/0.1379, allocations: 8.062 kB / 487.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009257/0.1388, allocations: 484.2 kB / 488.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1388, allocations: 4 kB / 488.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.139, allocations: 52.77 kB / 488.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1394, allocations: 99.83 kB / 488.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1406, allocations: 1.504 MB / 490 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1409, allocations: 59.48 kB / 490 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.141, allocations: 20 kB / 490 MB, free: 4.492 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.0002866/0.1412, allocations: 256.9 kB / 490.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.1413, allocations: 31.62 kB / 490.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.1424, allocations: 0.5125 MB / 490.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.1425, allocations: 7.938 kB / 490.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1425, allocations: 8 kB / 490.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1425, allocations: 3.984 kB / 490.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.1442, allocations: 1.103 MB / 492 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1442, allocations: 0 / 492 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.1446, allocations: 79.89 kB / 492 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.1447, allocations: 56.77 kB / 492.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.1448, allocations: 12 kB / 492.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1462, allocations: 1.576 MB / 493.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1462, allocations: 0 / 493.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.1476, allocations: 0.7648 MB / 494.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1478, allocations: 156.6 kB / 494.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.1478, allocations: 12 kB / 494.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.1481, allocations: 19.98 kB / 494.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.1482, allocations: 32.39 kB / 494.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1482, allocations: 15.98 kB / 494.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1484, allocations: 194 kB / 494.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1484, allocations: 3.938 kB / 494.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.1492, allocations: 239.1 kB / 495.1 MB, free: 15.17 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.001723/0.151, allocations: 1.334 MB / 496.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1526, allocations: 0.9141 MB / 497.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1526, allocations: 0 / 497.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.1531, allocations: 345.7 kB / 497.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.1536, allocations: 48.48 kB / 497.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.1589, allocations: 4.089 MB / 0.4901 GB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1593, allocations: 0.8288 MB / 0.4909 GB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.1597, allocations: 75.25 kB / 0.4909 GB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.1599, allocations: 167.4 kB / 0.4911 GB, free: 7.125 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1599, allocations: 0 / 0.4911 GB, free: 7.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.1822, allocations: 8.107 MB / 0.499 GB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.1824, allocations: 225.9 kB / 0.4992 GB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.128, allocations: 0 / 0.4992 GB, free: 14.92 MB / 350.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)