Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.0009188/0.0009188, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8959/0.8959, allocations: 177.1 MB / 199.4 MB, free: 5.957 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.001444/0.001444, allocations: 156.6 kB / 256 MB, free: 13.36 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.02244/0.02244, allocations: 6.661 MB / 319 MB, free: 26.8 MB / 266.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.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.54e-05, allocations: 4.953 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.002889/0.002905, allocations: 3.749 MB / 449.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004135, allocations: 1.149 MB / 450.3 MB, free: 32.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.004337, allocations: 31.81 kB / 450.3 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.004574, allocations: 170.6 kB / 450.5 MB, free: 32.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.005091, allocations: 302.1 kB / 450.8 MB, free: 32.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.005314, allocations: 187.5 kB / 451 MB, free: 32.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.005971, allocations: 1.657 MB / 452.6 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.006485, allocations: 0.804 MB / 453.4 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.007033, allocations: 1.115 MB / 454.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.007514, allocations: 0.834 MB / 455.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.007627, allocations: 188 kB / 455.6 MB, free: 27.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.007799, allocations: 204 kB / 455.8 MB, free: 27.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.008003, allocations: 0.5491 MB / 456.3 MB, free: 26.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.008286, allocations: 0.6079 MB / 456.9 MB, free: 26.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.009291, allocations: 2.528 MB / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.009294, allocations: 0 / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009295, allocations: 0 / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.009308, allocations: 0 / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.001775/0.01108, allocations: 2.257 MB / 461.7 MB, free: 21.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01112, allocations: 12.03 kB / 461.7 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.01125, allocations: 215 kB / 461.9 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.01155, allocations: 203.8 kB / 462.1 MB, free: 20.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.01238, allocations: 1.002 MB / 463.1 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.01242, allocations: 103.1 kB / 463.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.01253, allocations: 144.4 kB / 463.4 MB, free: 19.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.01406, allocations: 2 MB / 465.4 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.01409, allocations: 4 kB / 465.4 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.01416, allocations: 56 kB / 465.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01418, allocations: 36 kB / 465.5 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.01555, allocations: 1.595 MB / 467.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.01915, allocations: 4.375 MB / 471.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.01987, allocations: 0.8795 MB / 472.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.02049, allocations: 0.6394 MB / 472.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.02052, allocations: 12.64 kB / 473 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.02108, allocations: 0.6776 MB / 473.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 1.563e-06/0.02108, allocations: 4 kB / 473.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002667/0.02375, allocations: 2.717 MB / 476.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.02381, allocations: 149.1 kB / 476.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.02437, allocations: 0.8323 MB / 477.3 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.0244, allocations: 45.7 kB / 477.4 MB, free: 5.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.02465, allocations: 0.6331 MB / 478 MB, free: 4.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.02475, allocations: 277.7 kB / 478.3 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.0249, allocations: 150.7 kB / 478.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.02498, allocations: 398.8 kB / 478.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.02534, allocations: 409.7 kB / 479.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.0258, allocations: 0.6749 MB / 479.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/0.02656, allocations: 0.9937 MB / 480.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02657, allocations: 4 kB / 480.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001066/0.02763, allocations: 1.243 MB / 482.1 MB, free: 252 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.02765, allocations: 8 kB / 482.1 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.02766, allocations: 4 kB / 482.2 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.02792, allocations: 168.7 kB / 482.3 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.02829, allocations: 160 kB / 482.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.0305, allocations: 2.862 MB / 485.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.03075, allocations: 51.95 kB / 485.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.03078, allocations: 35.92 kB / 485.4 MB, free: 12.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.03127, allocations: 0.5599 MB / 486 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.03134, allocations: 99.44 kB / 486.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.03146, allocations: 112.5 kB / 486.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.03146, allocations: 8 kB / 486.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.03147, allocations: 4 kB / 486.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.03148, allocations: 3.984 kB / 486.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.03398, allocations: 2.517 MB / 488.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.03398, allocations: 4.125 kB / 488.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.03423, allocations: 111.8 kB / 488.8 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.03443, allocations: 156.7 kB / 489 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.03447, allocations: 35.91 kB / 489 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.03633, allocations: 2.825 MB / 491.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.03633, allocations: 11.91 kB / 491.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.03783, allocations: 1.72 MB / 493.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.03806, allocations: 191.4 kB / 493.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.03812, allocations: 27.97 kB / 493.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.03832, allocations: 47.97 kB / 493.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.03843, allocations: 76.45 kB / 493.9 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.03846, allocations: 31.92 kB / 493.9 MB, free: 4.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000469/0.03893, allocations: 0.5849 MB / 494.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03893, allocations: 0 / 494.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000498/0.03943, allocations: 268 kB / 494.8 MB, free: 3.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[3].i,inductor.inductor[3].i,inductor.inductor[1].i) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.04128, allocations: 2.315 MB / 497.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.0424, allocations: 1.117 MB / 498.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0424, allocations: 0 / 498.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.04303, allocations: 0.6581 MB / 498.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.04362, allocations: 231.6 kB / 499.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.05303, allocations: 10.15 MB / 0.4973 GB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.05366, allocations: 0.934 MB / 0.4982 GB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.05402, allocations: 234.7 kB / 0.4985 GB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.05441, allocations: 460.4 kB / 0.4989 GB, free: 2.797 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05441, allocations: 0 / 0.4989 GB, free: 2.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.08952, allocations: 26.31 MB / 0.5246 GB, free: 8.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/7.816, allocations: 7.078 kB / 0.5246 GB, free: 8.789 MB / 394.7 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.StarDelta_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.835730230435729] Failed to read output from testmodel.py, exit status != 0: 7.906697514466941 7.916633729 7.905622086 Calling exit ...