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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 164.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02325/0.02325, allocations: 6.66 MB / 319 MB, free: 12 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 1.062 kB / 445.4 MB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.937e-05, allocations: 5.547 kB / 445.4 MB, free: 110 MB / 410.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003022/0.003041, allocations: 3.688 MB / 449.1 MB, free: 107.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004675, allocations: 1.536 MB / 450.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.004832, allocations: 11.12 kB / 450.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000918/0.00575, allocations: 0.7583 MB / 451.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.00629, allocations: 372.3 kB / 451.7 MB, free: 106 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.006947, allocations: 0.5928 MB / 452.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.007412, allocations: 0.5538 MB / 452.9 MB, free: 105.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.007906, allocations: 457.6 kB / 453.3 MB, free: 105.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.008218, allocations: 357.3 kB / 453.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.008425, allocations: 234.6 kB / 453.9 MB, free: 104.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.008482, allocations: 55 kB / 454 MB, free: 104.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.008767, allocations: 222.7 kB / 454.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.008839, allocations: 132.9 kB / 454.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.008956, allocations: 181.6 kB / 454.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.009622, allocations: 0.8431 MB / 455.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.009624, allocations: 0 / 455.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009625, allocations: 0 / 455.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.009632, allocations: 1.641 kB / 455.3 MB, free: 104.3 MB / 410.7 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.001209/0.01084, allocations: 0.8824 MB / 456.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01088, allocations: 9.031 kB / 456.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.01099, allocations: 111.5 kB / 456.3 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.01238, allocations: 392.9 kB / 456.7 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.0128, allocations: 303.3 kB / 457 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.01283, allocations: 52.44 kB / 457.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.01289, allocations: 58.69 kB / 457.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.01364, allocations: 0.6906 MB / 457.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.01366, allocations: 1.094 kB / 457.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.0137, allocations: 26.25 kB / 457.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.01371, allocations: 14.69 kB / 457.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.01442, allocations: 0.5787 MB / 458.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.01635, allocations: 1.863 MB / 460.3 MB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.01711, allocations: 479.3 kB / 460.8 MB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.01733, allocations: 165.2 kB / 460.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.01739, allocations: 28.72 kB / 461 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.01741, allocations: 41.95 kB / 461 MB, free: 101.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.01741, allocations: 0 / 461 MB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00102/0.01843, allocations: 0.6077 MB / 461.6 MB, free: 101 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.01845, allocations: 56.44 kB / 461.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.01865, allocations: 275.2 kB / 461.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01867, allocations: 35.08 kB / 462 MB, free: 100.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.01877, allocations: 254.5 kB / 462.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.01884, allocations: 156.4 kB / 462.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.01893, allocations: 88.33 kB / 462.5 MB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.01898, allocations: 341.4 kB / 462.8 MB, free: 99.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.01919, allocations: 153.9 kB / 462.9 MB, free: 99.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.01944, allocations: 257.1 kB / 463.2 MB, free: 99.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.0199, allocations: 441.5 kB / 463.6 MB, free: 99.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.0199, allocations: 1.031 kB / 463.6 MB, free: 99.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006404/0.02054, allocations: 0.5211 MB / 464.1 MB, free: 99.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.02056, allocations: 9.281 kB / 464.2 MB, free: 99.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.02057, allocations: 3.406 kB / 464.2 MB, free: 99.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.02074, allocations: 55.12 kB / 464.2 MB, free: 99.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.02097, allocations: 102.4 kB / 464.3 MB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/0.02181, allocations: 1.65 MB / 466 MB, free: 97.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.02197, allocations: 60.22 kB / 466 MB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.022, allocations: 25.19 kB / 466 MB, free: 97.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000256/0.02225, allocations: 270.2 kB / 466.3 MB, free: 97.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002199/0.02247, allocations: 255.2 kB / 466.6 MB, free: 97.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004199/0.02289, allocations: 424.1 kB / 467 MB, free: 97.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.02289, allocations: 1.031 kB / 467 MB, free: 97.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000588/0.02348, allocations: 0.5106 MB / 467.5 MB, free: 96.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.02349, allocations: 12.69 kB / 467.5 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.0235, allocations: 6.125 kB / 467.5 MB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.0236, allocations: 49.28 kB / 467.5 MB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.02382, allocations: 100.6 kB / 467.6 MB, free: 96.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006757/0.02449, allocations: 1.65 MB / 469.3 MB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02464, allocations: 41.16 kB / 469.3 MB, free: 95.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.02466, allocations: 20.67 kB / 469.4 MB, free: 95.18 MB / 410.7 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 8.303e-05/0.02475, allocations: 214.4 kB / 469.6 MB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.02479, allocations: 31.72 kB / 469.6 MB, free: 94.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.02554, allocations: 0.5067 MB / 470.1 MB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.02555, allocations: 5.125 kB / 470.1 MB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.02555, allocations: 1.188 kB / 470.1 MB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.02556, allocations: 2.953 kB / 470.1 MB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.02677, allocations: 1.003 MB / 471.1 MB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02677, allocations: 0 / 471.1 MB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.02697, allocations: 84.89 kB / 471.2 MB, free: 94.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.02708, allocations: 48.88 kB / 471.2 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.02709, allocations: 13.52 kB / 471.3 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006809/0.02778, allocations: 1.643 MB / 472.9 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02778, allocations: 5.047 kB / 472.9 MB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.02864, allocations: 0.7495 MB / 473.7 MB, free: 92.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.02872, allocations: 71.25 kB / 473.7 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.02874, allocations: 9.438 kB / 473.7 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.02886, allocations: 25.17 kB / 473.8 MB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.02892, allocations: 32.81 kB / 473.8 MB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.02893, allocations: 14.09 kB / 473.8 MB, free: 92.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.02903, allocations: 193.9 kB / 474 MB, free: 91.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02903, allocations: 0 / 474 MB, free: 91.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005599/0.02959, allocations: 248.2 kB / 474.2 MB, free: 91.86 MB / 410.7 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.001055/0.03065, allocations: 1.329 MB / 475.6 MB, free: 90.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.03164, allocations: 0.8425 MB / 476.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03164, allocations: 2.656 kB / 476.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.03192, allocations: 320.8 kB / 476.7 MB, free: 90.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.0322, allocations: 37.73 kB / 476.8 MB, free: 90.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.03534, allocations: 3.794 MB / 480.6 MB, free: 86.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.03545, allocations: 225.8 kB / 480.8 MB, free: 86.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.03562, allocations: 74.67 kB / 480.8 MB, free: 86.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.03574, allocations: 164.4 kB / 481 MB, free: 86.37 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03574, allocations: 4 kB / 481 MB, free: 86.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.05634, allocations: 9.711 MB / 490.7 MB, free: 76.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.188, allocations: 7.984 kB / 490.7 MB, free: 76.83 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.134971275925636] Failed to read output from testmodel.py, exit status != 0: 7.271922244690359 7.279739074 7.268916788 Calling exit ...