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.001115/0.001115, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.302/1.302, allocations: 222.9 MB / 239 MB, free: 4.707 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.001249/0.001248, allocations: 196.4 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03468/0.03468, allocations: 8.795 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 78.28 kB / 410.7 MB, free: 42.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07224/0.07372, allocations: 51.57 MB / 462.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004728/0.07848, allocations: 3.982 MB / 466.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.08086, allocations: 1.542 MB / 467.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.08109, allocations: 19.94 kB / 467.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.08276, allocations: 0.7176 MB / 468.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.08377, allocations: 489.2 kB / 469 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.08464, allocations: 452.5 kB / 469.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.08518, allocations: 0.5448 MB / 470 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.08589, allocations: 0.5509 MB / 470.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.08618, allocations: 243.1 kB / 470.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.08647, allocations: 302.8 kB / 471.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.08655, allocations: 56 kB / 471.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.08691, allocations: 219.9 kB / 471.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.087, allocations: 127.5 kB / 471.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.0872, allocations: 274.6 kB / 471.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007353/0.08794, allocations: 0.7984 MB / 472.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08796, allocations: 0 / 472.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.08797, allocations: 0 / 472.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.08798, allocations: 7.938 kB / 472.5 MB, free: 4.305 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.001972/0.08996, allocations: 0.948 MB / 473.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.09, allocations: 12.03 kB / 473.5 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.09015, allocations: 111.9 kB / 473.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.09292, allocations: 407.9 kB / 474 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.09341, allocations: 358.8 kB / 474.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.09346, allocations: 45.44 kB / 474.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.09355, allocations: 56 kB / 474.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.09464, allocations: 0.6549 MB / 475.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.09467, allocations: 0 / 475.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.09473, allocations: 23.94 kB / 475.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.09477, allocations: 25.31 kB / 475.2 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.09582, allocations: 0.5751 MB / 475.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.09869, allocations: 2.2 MB / 477.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1001, allocations: 1.178 MB / 479.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.1005, allocations: 199.7 kB / 479.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.1006, allocations: 89.09 kB / 479.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1006, allocations: 38.56 kB / 479.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.083e-06/0.1006, allocations: 0 / 479.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001583/0.1022, allocations: 0.6862 MB / 480.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1022, allocations: 55.41 kB / 480.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1025, allocations: 274.6 kB / 480.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1025, allocations: 29.7 kB / 480.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1027, allocations: 260.5 kB / 480.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.1028, allocations: 149.8 kB / 480.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1029, allocations: 82.16 kB / 480.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.103, allocations: 350.8 kB / 481.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1034, allocations: 151 kB / 481.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1037, allocations: 253.9 kB / 481.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.1045, allocations: 437.7 kB / 482.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1045, allocations: 0 / 482.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009716/0.1055, allocations: 0.5179 MB / 482.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1055, allocations: 8 kB / 482.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1055, allocations: 7.938 kB / 482.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.1057, allocations: 56.7 kB / 482.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.1062, allocations: 104 kB / 482.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.1076, allocations: 1.759 MB / 484.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.1079, allocations: 55.42 kB / 484.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.108, allocations: 23.98 kB / 484.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004131/0.1084, allocations: 273.3 kB / 484.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003292/0.1087, allocations: 245.6 kB / 485.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006277/0.1094, allocations: 431.6 kB / 485.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.1094, allocations: 4 kB / 485.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000898/0.1103, allocations: 0.509 MB / 486.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1103, allocations: 8.344 kB / 486.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1103, allocations: 8 kB / 486.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.1105, allocations: 56.83 kB / 486.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.1109, allocations: 91.89 kB / 486.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1122, allocations: 1.767 MB / 488 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1125, allocations: 39.67 kB / 488 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.1125, allocations: 24.06 kB / 488.1 MB, free: 3.754 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.0001491/0.1127, allocations: 204.1 kB / 488.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.1127, allocations: 43.56 kB / 488.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1138, allocations: 0.5006 MB / 488.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1138, allocations: 12 kB / 488.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1138, allocations: 7.875 kB / 488.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1139, allocations: 0 / 488.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1154, allocations: 1.076 MB / 489.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1154, allocations: 3.984 kB / 489.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1158, allocations: 79.89 kB / 490 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.1159, allocations: 52.83 kB / 490 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.116, allocations: 8 kB / 490 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.1173, allocations: 1.771 MB / 491.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1173, allocations: 0 / 491.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.1186, allocations: 0.749 MB / 492.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1188, allocations: 140.6 kB / 492.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1188, allocations: 12.05 kB / 492.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.1191, allocations: 23.97 kB / 492.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.1192, allocations: 32.39 kB / 492.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.1192, allocations: 11.98 kB / 492.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1194, allocations: 198 kB / 493 MB, free: 14.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1194, allocations: 0 / 493 MB, free: 14.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008773/0.1203, allocations: 239.1 kB / 493.2 MB, free: 14.35 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.00172/0.122, allocations: 1.329 MB / 494.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.1239, allocations: 0.9142 MB / 495.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1239, allocations: 0 / 495.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.1244, allocations: 337.1 kB / 495.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1249, allocations: 47.16 kB / 495.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.1304, allocations: 4.005 MB / 499.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1309, allocations: 0.8327 MB / 0.4889 GB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.1313, allocations: 67.25 kB / 0.489 GB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.1316, allocations: 167.4 kB / 0.4892 GB, free: 6.402 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1316, allocations: 0 / 0.4892 GB, free: 6.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1549, allocations: 8.442 MB / 0.4974 GB, free: 14.11 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1551, allocations: 229.8 kB / 0.4976 GB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.043, allocations: 0 / 0.4976 GB, free: 13.85 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)