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.0008295/0.0008295, 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.8849/0.8849, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001089/0.001089, allocations: 159.7 kB / 256 MB, free: 13.35 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.02219/0.02219, allocations: 6.669 MB / 319 MB, free: 26.77 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.994e-06/1.994e-06, allocations: 4 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.133e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.003752/0.003774, allocations: 3.757 MB / 449.1 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005478, allocations: 1.137 MB / 450.3 MB, free: 32.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.005739, allocations: 35.75 kB / 450.3 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.005991, allocations: 182.6 kB / 450.5 MB, free: 32.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.006674, allocations: 294.1 kB / 450.8 MB, free: 32.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.006957, allocations: 191.5 kB / 451 MB, free: 32.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.007718, allocations: 1.653 MB / 452.6 MB, free: 30.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.008273, allocations: 0.8041 MB / 453.4 MB, free: 29.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.008935, allocations: 1.119 MB / 454.5 MB, free: 28.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.009472, allocations: 0.8301 MB / 455.4 MB, free: 27.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.009613, allocations: 192 kB / 455.6 MB, free: 27.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.009789, allocations: 203.9 kB / 455.8 MB, free: 27.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.009976, allocations: 0.5492 MB / 456.3 MB, free: 26.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.01027, allocations: 0.6003 MB / 456.9 MB, free: 26.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.01119, allocations: 2.524 MB / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0112, allocations: 0 / 459.4 MB, free: 23.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0112, allocations: 4 kB / 459.4 MB, free: 23.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.01123, allocations: 3.938 kB / 459.4 MB, free: 23.51 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.001877/0.0131, allocations: 2.251 MB / 461.7 MB, free: 21.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.01314, allocations: 12.03 kB / 461.7 MB, free: 21.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.01327, allocations: 211 kB / 461.9 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.01359, allocations: 211.8 kB / 462.1 MB, free: 20.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.01444, allocations: 0.9942 MB / 463.1 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.01448, allocations: 107.1 kB / 463.2 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.0146, allocations: 136.4 kB / 463.4 MB, free: 19.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.01612, allocations: 2.012 MB / 465.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.01615, allocations: 3.984 kB / 465.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.01622, allocations: 60 kB / 465.4 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.01623, allocations: 32 kB / 465.5 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.01762, allocations: 1.588 MB / 467 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.02139, allocations: 4.379 MB / 471.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.02216, allocations: 0.8834 MB / 472.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.02277, allocations: 0.6395 MB / 472.9 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.02281, allocations: 8.656 kB / 473 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.02331, allocations: 0.6772 MB / 473.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 1.964e-06/0.02332, allocations: 0 / 473.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002508/0.02582, allocations: 2.725 MB / 476.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.02587, allocations: 141.1 kB / 476.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.02642, allocations: 0.8362 MB / 477.3 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.02646, allocations: 49.69 kB / 477.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.02667, allocations: 0.6331 MB / 478 MB, free: 4.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/0.02677, allocations: 273.7 kB / 478.3 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.0269, allocations: 150.7 kB / 478.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.02697, allocations: 402.7 kB / 478.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.02732, allocations: 409.7 kB / 479.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.02782, allocations: 0.671 MB / 479.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.02857, allocations: 0.9976 MB / 480.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02857, allocations: 4 kB / 480.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001023/0.02959, allocations: 1.247 MB / 482.1 MB, free: 244 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.02961, allocations: 10.97 kB / 482.2 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.02961, allocations: 4 kB / 482.2 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.02985, allocations: 174.9 kB / 482.3 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.03022, allocations: 155.7 kB / 482.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.03242, allocations: 2.866 MB / 485.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.03268, allocations: 51.97 kB / 485.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.03271, allocations: 27.98 kB / 485.4 MB, free: 12.84 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.0004869/0.0332, allocations: 0.5679 MB / 486 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.03327, allocations: 95.36 kB / 486.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.03338, allocations: 112.5 kB / 486.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.03339, allocations: 8 kB / 486.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.0334, allocations: 0 / 486.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.0334, allocations: 7.984 kB / 486.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.03585, allocations: 2.517 MB / 488.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03586, allocations: 0 / 488.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.03611, allocations: 115.8 kB / 488.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.03631, allocations: 156.8 kB / 489 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.03636, allocations: 31.92 kB / 489 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.03826, allocations: 2.827 MB / 491.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.03827, allocations: 3.938 kB / 491.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.03978, allocations: 1.721 MB / 493.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.04, allocations: 187.4 kB / 493.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.04007, allocations: 31.98 kB / 493.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.0403, allocations: 39.95 kB / 493.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.04042, allocations: 92.33 kB / 493.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.04045, allocations: 23.98 kB / 493.9 MB, free: 4.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.04089, allocations: 0.5888 MB / 494.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04089, allocations: 0 / 494.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.04142, allocations: 272 kB / 494.8 MB, free: 3.25 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.00173/0.04315, allocations: 2.3 MB / 497.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.04432, allocations: 1.121 MB / 498.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04432, allocations: 0 / 498.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.04494, allocations: 0.6668 MB / 498.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.04552, allocations: 231.1 kB / 499.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.05483, allocations: 10.15 MB / 0.4973 GB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.05546, allocations: 0.9262 MB / 0.4982 GB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.05595, allocations: 226.7 kB / 0.4984 GB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.05634, allocations: 468.3 kB / 0.4989 GB, free: 2.797 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.05634, allocations: 0 / 0.4989 GB, free: 2.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.09518, allocations: 26.32 MB / 0.5246 GB, free: 8.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.523, allocations: 7.922 kB / 0.5246 GB, free: 8.773 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarDelta_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.431354372762144] Failed to read output from testmodel.py, exit status != 0: 7.614420549944043 7.624523358 7.61138558 Calling exit ...