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.001395/0.001395, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.353/1.353, allocations: 222.9 MB / 238.9 MB, free: 4.684 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.001485/0.001486, allocations: 184.5 kB / 289.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03315/0.03315, allocations: 8.801 MB / 348.1 MB, free: 4.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 77.28 kB / 410.5 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09445, allocations: 51.57 MB / 462.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005259/0.09975, allocations: 3.982 MB / 466.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1024, allocations: 1.562 MB / 467.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.1026, allocations: 12 kB / 467.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.1043, allocations: 0.7183 MB / 468.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.1053, allocations: 497.9 kB / 468.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.1062, allocations: 466.8 kB / 469.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.1067, allocations: 0.5058 MB / 469.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007129/0.1074, allocations: 458.4 kB / 470.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1077, allocations: 215.1 kB / 470.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.1081, allocations: 298.7 kB / 470.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.1081, allocations: 40 kB / 470.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.1085, allocations: 199.9 kB / 471 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.1086, allocations: 115.5 kB / 471.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1089, allocations: 254.7 kB / 471.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.1096, allocations: 0.7749 MB / 472.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1096, allocations: 0 / 472.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1096, allocations: 0 / 472.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1097, allocations: 4 kB / 472.1 MB, free: 4.684 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.00211/0.1118, allocations: 0.9559 MB / 473.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1118, allocations: 12.03 kB / 473.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.112, allocations: 111.9 kB / 473.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.1146, allocations: 411.9 kB / 473.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.1152, allocations: 357.3 kB / 473.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.1152, allocations: 53.38 kB / 474 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.1153, allocations: 60 kB / 474.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1164, allocations: 0.6432 MB / 474.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1165, allocations: 3.984 kB / 474.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.1165, allocations: 24 kB / 474.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.1166, allocations: 21.31 kB / 474.7 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1177, allocations: 0.5712 MB / 475.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.1208, allocations: 2.2 MB / 477.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.1222, allocations: 1.185 MB / 478.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.1226, allocations: 192.8 kB / 478.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.1227, allocations: 85.11 kB / 479 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1228, allocations: 42.55 kB / 479 MB, free: 13.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.063e-06/0.1228, allocations: 0 / 479 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001641/0.1244, allocations: 0.6904 MB / 479.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1245, allocations: 55.41 kB / 479.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1248, allocations: 270.6 kB / 480 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1248, allocations: 33.7 kB / 480.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.125, allocations: 252.2 kB / 480.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1251, allocations: 149.9 kB / 480.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1252, allocations: 90.09 kB / 480.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1254, allocations: 342.8 kB / 480.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.1257, allocations: 151 kB / 481 MB, free: 11.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1261, allocations: 261.9 kB / 481.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.1269, allocations: 433.7 kB / 481.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1269, allocations: 0 / 481.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001142/0.1281, allocations: 0.5218 MB / 482.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1281, allocations: 4 kB / 482.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.1282, allocations: 4 kB / 482.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.1284, allocations: 56.77 kB / 482.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.1289, allocations: 103.8 kB / 482.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.1303, allocations: 1.592 MB / 484 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.1306, allocations: 51.44 kB / 484 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1307, allocations: 24.03 kB / 484.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004699/0.1312, allocations: 269.1 kB / 484.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003717/0.1315, allocations: 257.6 kB / 484.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006867/0.1322, allocations: 427.6 kB / 485 MB, free: 6.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.1323, allocations: 0 / 485 MB, free: 6.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009666/0.1332, allocations: 0.5132 MB / 485.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1333, allocations: 7.938 kB / 485.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1333, allocations: 4 kB / 485.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.1334, allocations: 56.77 kB / 485.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.1338, allocations: 95.83 kB / 485.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1352, allocations: 1.6 MB / 487.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1355, allocations: 43.61 kB / 487.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1355, allocations: 20 kB / 487.3 MB, free: 4.469 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.0001826/0.1357, allocations: 204.1 kB / 487.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1358, allocations: 31.62 kB / 487.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1369, allocations: 0.5122 MB / 488.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1369, allocations: 4 kB / 488.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1369, allocations: 4 kB / 488.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1369, allocations: 0 / 488.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1386, allocations: 1.091 MB / 489.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1386, allocations: 0 / 489.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.139, allocations: 79.89 kB / 489.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.1391, allocations: 48.83 kB / 489.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.1392, allocations: 15.98 kB / 489.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.1405, allocations: 1.58 MB / 490.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1405, allocations: 0 / 490.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1418, allocations: 0.7453 MB / 491.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.142, allocations: 148.6 kB / 491.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.142, allocations: 12.06 kB / 491.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.1423, allocations: 15.98 kB / 491.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.1424, allocations: 36.42 kB / 491.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1424, allocations: 12 kB / 491.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1426, allocations: 201.9 kB / 492 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1426, allocations: 0 / 492 MB, free: 15.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008394/0.1435, allocations: 247 kB / 492.3 MB, free: 15.24 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.001747/0.1452, allocations: 1.317 MB / 493.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.1469, allocations: 0.8873 MB / 494.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1469, allocations: 4.125 kB / 494.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.1474, allocations: 345 kB / 494.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1479, allocations: 40.55 kB / 494.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.1536, allocations: 4.003 MB / 498.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1541, allocations: 0.8287 MB / 499.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.1545, allocations: 79.23 kB / 499.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.1548, allocations: 167.4 kB / 499.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1548, allocations: 0 / 499.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.1756, allocations: 8.203 MB / 0.4962 GB, free: 15.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.1759, allocations: 227.3 kB / 0.4965 GB, free: 14.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.022, allocations: 4 kB / 0.4965 GB, free: 14.99 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)