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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.001363/0.001363, allocations: 99.62 kB / 15.05 MB, free: 1.105 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: 223.2 MB / 238.9 MB, free: 5.668 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.001539/0.001539, allocations: 189 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03304/0.03304, allocations: 8.793 MB / 350.1 MB, free: 4.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 9.719 kB / 413.2 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.0831, allocations: 52.57 MB / 465.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003515/0.08664, allocations: 3.239 MB / 469 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.08874, allocations: 1.442 MB / 470.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.08892, allocations: 12 kB / 470.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.08923, allocations: 131.2 kB / 470.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.09008, allocations: 461.3 kB / 471 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.09083, allocations: 387.8 kB / 471.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.09134, allocations: 355.2 kB / 471.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.09261, allocations: 0.7244 MB / 472.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.09288, allocations: 179.3 kB / 472.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.09316, allocations: 239 kB / 472.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.09321, allocations: 24 kB / 472.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.09356, allocations: 159.8 kB / 473 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.09363, allocations: 83.66 kB / 473.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.09374, allocations: 113.5 kB / 473.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.09432, allocations: 0.5921 MB / 473.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.09434, allocations: 3.938 kB / 473.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09434, allocations: 0 / 473.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.09436, allocations: 0 / 473.8 MB, free: 5.371 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.002233/0.09659, allocations: 0.8698 MB / 474.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.09664, allocations: 12.03 kB / 474.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.09679, allocations: 107.7 kB / 474.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.09942, allocations: 407 kB / 475.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.09997, allocations: 352.1 kB / 475.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.1, allocations: 45.31 kB / 475.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.1001, allocations: 64 kB / 475.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1013, allocations: 0.6354 MB / 476.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1013, allocations: 0 / 476.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.1014, allocations: 31.95 kB / 476.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.1014, allocations: 21.31 kB / 476.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1025, allocations: 0.5907 MB / 476.9 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.1055, allocations: 2.196 MB / 479.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1071, allocations: 1.194 MB / 480.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.1072, allocations: 89.09 kB / 480.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.1073, allocations: 42.5 kB / 480.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.1073, allocations: 0 / 480.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001632/0.1089, allocations: 0.6987 MB / 481.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.109, allocations: 55.41 kB / 481.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.1093, allocations: 266.6 kB / 481.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.1093, allocations: 37.7 kB / 481.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1095, allocations: 248.3 kB / 481.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1096, allocations: 145.8 kB / 481.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1097, allocations: 16 kB / 481.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1098, allocations: 342.8 kB / 482.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1102, allocations: 149 kB / 482.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.1106, allocations: 253.9 kB / 482.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.111, allocations: 193.4 kB / 482.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.111, allocations: 4 kB / 482.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001027/0.1121, allocations: 0.526 MB / 483.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007334/0.1128, allocations: 1.225 MB / 484.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1128, allocations: 4 kB / 484.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.1131, allocations: 56.83 kB / 484.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.1136, allocations: 95.88 kB / 484.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.1153, allocations: 1.6 MB / 486.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1156, allocations: 63.38 kB / 486.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1157, allocations: 23.98 kB / 486.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.1157, allocations: 4 kB / 486.4 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000901/0.1166, allocations: 471.9 kB / 486.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1166, allocations: 8.344 kB / 486.9 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.1168, allocations: 48.84 kB / 486.9 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.1171, allocations: 99.88 kB / 487 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.1185, allocations: 1.532 MB / 488.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.1188, allocations: 55.42 kB / 488.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.1188, allocations: 20 kB / 488.6 MB, free: 5.59 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 (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.0002852/0.1191, allocations: 253.1 kB / 488.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.1192, allocations: 31.62 kB / 488.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1202, allocations: 0.5121 MB / 489.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1203, allocations: 4 kB / 489.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1203, allocations: 11.94 kB / 489.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1203, allocations: 7.969 kB / 489.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1219, allocations: 1.08 MB / 490.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1219, allocations: 0 / 490.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.1223, allocations: 79.89 kB / 490.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.1225, allocations: 48.83 kB / 490.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.1225, allocations: 12 kB / 490.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.1239, allocations: 1.608 MB / 492.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1239, allocations: 4.031 kB / 492.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1252, allocations: 0.753 MB / 493 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1253, allocations: 152.5 kB / 493.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1254, allocations: 11.94 kB / 493.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1257, allocations: 28.05 kB / 493.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.1257, allocations: 28.41 kB / 493.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.1258, allocations: 11.98 kB / 493.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.126, allocations: 190 kB / 493.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 493.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008002/0.1268, allocations: 243.1 kB / 493.7 MB, free: 296 kB / 318.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 (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.001671/0.1285, allocations: 1.329 MB / 495 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.13, allocations: 0.9102 MB / 495.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.13, allocations: 1.062 kB / 495.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.1306, allocations: 345.1 kB / 496.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1309, allocations: 32.55 kB / 496.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.1349, allocations: 4.388 MB / 0.489 GB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1353, allocations: 0.8369 MB / 0.4898 GB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.1357, allocations: 75.23 kB / 0.4898 GB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.1359, allocations: 159.4 kB / 0.49 GB, free: 8.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1359, allocations: 0 / 0.49 GB, free: 8.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.1566, allocations: 7.973 MB / 0.4978 GB, free: 212 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.1568, allocations: 199.5 kB / 0.498 GB, free: 15.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.948, allocations: 0 / 0.498 GB, free: 15.97 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/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) Environment - environmentSimulation: