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.0008942/0.0008941, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.358/1.358, allocations: 223.2 MB / 239 MB, free: 5.629 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.001114/0.001114, allocations: 172.5 kB / 290.3 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03461/0.03461, allocations: 8.794 MB / 350.2 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 11.06 kB / 413.3 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 52.56 MB / 465.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004343/0.1068, allocations: 3.381 MB / 469.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1097, allocations: 1.446 MB / 470.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.1103, allocations: 12 kB / 470.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.111, allocations: 131.3 kB / 470.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1123, allocations: 426.3 kB / 471.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.1132, allocations: 398.3 kB / 471.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.114, allocations: 494 kB / 472.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.1154, allocations: 0.715 MB / 472.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.1158, allocations: 195.2 kB / 473 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1162, allocations: 243 kB / 473.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.1163, allocations: 24 kB / 473.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.1168, allocations: 183.8 kB / 473.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.1169, allocations: 87.61 kB / 473.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1171, allocations: 109.5 kB / 473.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000798/0.1179, allocations: 0.5999 MB / 474.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1179, allocations: 0 / 474.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1179, allocations: 0 / 474.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.118, allocations: 0 / 474.2 MB, free: 5.027 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.002239/0.1202, allocations: 0.8659 MB / 475.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1203, allocations: 16.02 kB / 475.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.1205, allocations: 111.7 kB / 475.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.1232, allocations: 407 kB / 475.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.1238, allocations: 352.1 kB / 476 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.1239, allocations: 45.31 kB / 476 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.124, allocations: 60 kB / 476.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1253, allocations: 0.6393 MB / 476.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.1254, allocations: 4 kB / 476.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.1255, allocations: 27.95 kB / 476.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.1255, allocations: 29.3 kB / 476.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1267, allocations: 0.5829 MB / 477.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.13, allocations: 2.2 MB / 479.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.1315, allocations: 1.174 MB / 480.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1319, allocations: 208.6 kB / 480.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-05/0.132, allocations: 93.39 kB / 481 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1321, allocations: 38.56 kB / 481.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.1321, allocations: 0 / 481.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001576/0.1337, allocations: 0.7019 MB / 481.8 MB, free: 13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1337, allocations: 59.41 kB / 481.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.134, allocations: 274.6 kB / 482.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1341, allocations: 29.7 kB / 482.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1342, allocations: 244.3 kB / 482.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1343, allocations: 153.8 kB / 482.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.1344, allocations: 4 kB / 482.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1345, allocations: 350.8 kB / 482.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.1348, allocations: 149 kB / 483 MB, free: 11.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.1353, allocations: 261.9 kB / 483.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.1356, allocations: 177.6 kB / 483.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1356, allocations: 4 kB / 483.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009936/0.1366, allocations: 0.5335 MB / 484 MB, free: 10.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.1368, allocations: 184.5 kB / 484.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1368, allocations: 4 kB / 484.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.1371, allocations: 48.83 kB / 484.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.1375, allocations: 111.8 kB / 484.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.139, allocations: 1.584 MB / 485.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1393, allocations: 59.42 kB / 485.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1394, allocations: 20 kB / 486 MB, free: 8.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.1394, allocations: 4 kB / 486 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008609/0.1402, allocations: 480.1 kB / 486.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1403, allocations: 4 kB / 486.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.1404, allocations: 48.83 kB / 486.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.1408, allocations: 99.88 kB / 486.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.142, allocations: 1.516 MB / 488.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1423, allocations: 51.5 kB / 488.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.1423, allocations: 23.98 kB / 488.2 MB, free: 6.164 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.0003156/0.1427, allocations: 249 kB / 488.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.1428, allocations: 31.62 kB / 488.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1439, allocations: 0.5238 MB / 489 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.1439, allocations: 8 kB / 489 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1439, allocations: 3.938 kB / 489 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.144, allocations: 3.938 kB / 489 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.1457, allocations: 1.076 MB / 490.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1457, allocations: 0 / 490.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1461, allocations: 79.89 kB / 490.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.1463, allocations: 60.77 kB / 490.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.1463, allocations: 15.94 kB / 490.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.1476, allocations: 1.588 MB / 491.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1477, allocations: 48 / 491.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.149, allocations: 0.7647 MB / 492.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1492, allocations: 148.6 kB / 492.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1492, allocations: 8 kB / 492.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1495, allocations: 28.05 kB / 492.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.1496, allocations: 36.34 kB / 492.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.1496, allocations: 12 kB / 492.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1498, allocations: 194 kB / 493 MB, free: 1.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1498, allocations: 0 / 493 MB, free: 1.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.1507, allocations: 235.1 kB / 493.2 MB, free: 0.8672 MB / 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.001773/0.1525, allocations: 1.337 MB / 494.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1542, allocations: 0.8994 MB / 495.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1542, allocations: 4.062 kB / 495.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.1547, allocations: 341.1 kB / 495.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1552, allocations: 48.42 kB / 495.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.1592, allocations: 2.43 MB / 498.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1596, allocations: 0.8252 MB / 499.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.16, allocations: 75.23 kB / 499.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.1603, allocations: 163.4 kB / 499.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1603, allocations: 0 / 499.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.1832, allocations: 7.995 MB / 0.4954 GB, free: 2.742 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.1834, allocations: 210.8 kB / 0.4956 GB, free: 2.496 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.042, allocations: 4 kB / 0.4956 GB, free: 2.492 MB / 334.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: