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.001871/0.001871, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 252.7 MB, free: 8.328 MB / 206.1 MB " [Timeout remaining time 178] 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.001587/0.001587, allocations: 208.9 kB / 309.2 MB, free: 3.184 MB / 238.1 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.04168/0.04168, allocations: 8.924 MB / 374.6 MB, free: 1.934 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 91.84 kB / 0.4892 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3011, allocations: 55.61 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004509/0.3056, allocations: 4.107 MB / 0.5475 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3075, allocations: 1.196 MB / 0.5487 GB, free: 23.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.3077, allocations: 31.78 kB / 0.5487 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.308, allocations: 173.8 kB / 0.5489 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000737/0.3088, allocations: 295.5 kB / 0.5492 GB, free: 22.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3091, allocations: 188.5 kB / 0.5493 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3102, allocations: 1.607 MB / 0.5509 GB, free: 21.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.311, allocations: 0.8129 MB / 0.5517 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/0.3116, allocations: 0.7758 MB / 0.5525 GB, free: 21.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.3125, allocations: 0.9114 MB / 0.5534 GB, free: 20.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.3126, allocations: 191.4 kB / 0.5535 GB, free: 20.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.3129, allocations: 205.8 kB / 0.5537 GB, free: 20.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.3132, allocations: 0.5279 MB / 0.5543 GB, free: 20.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.3138, allocations: 0.8737 MB / 0.5551 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.3155, allocations: 2.487 MB / 0.5575 GB, free: 18.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3155, allocations: 0 / 0.5575 GB, free: 18.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3155, allocations: 3.062 kB / 0.5575 GB, free: 18.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.3155, allocations: 0 / 0.5575 GB, free: 18.86 MB / 382.1 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.003323/0.3189, allocations: 2.264 MB / 0.5598 GB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3189, allocations: 13.16 kB / 0.5598 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.3191, allocations: 213.7 kB / 0.56 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.3197, allocations: 213 kB / 0.5602 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.3211, allocations: 0.999 MB / 0.5611 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.3212, allocations: 106.1 kB / 0.5612 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.3213, allocations: 141.6 kB / 0.5614 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.3241, allocations: 1.929 MB / 0.5633 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.3242, allocations: 5.312 kB / 0.5633 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.3243, allocations: 55.7 kB / 0.5633 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.3243, allocations: 35.66 kB / 0.5634 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.3269, allocations: 1.593 MB / 0.5649 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007683/0.3346, allocations: 4.765 MB / 0.5696 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3359, allocations: 0.8863 MB / 0.5704 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.337, allocations: 0.6291 MB / 0.571 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.3371, allocations: 11.8 kB / 0.5711 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.3379, allocations: 0.6037 MB / 0.5716 GB, free: 11.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.765e-06/0.3379, allocations: 0 / 0.5716 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004744/0.3426, allocations: 2.72 MB / 0.5743 GB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3427, allocations: 143.7 kB / 0.5744 GB, free: 10.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3437, allocations: 0.831 MB / 0.5753 GB, free: 9.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.3438, allocations: 42.42 kB / 0.5753 GB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.3442, allocations: 0.6386 MB / 0.5759 GB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3444, allocations: 281.2 kB / 0.5762 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.3446, allocations: 152.2 kB / 0.5763 GB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3447, allocations: 404.6 kB / 0.5767 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.3453, allocations: 414.6 kB / 0.5771 GB, free: 8.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.3459, allocations: 0.5964 MB / 0.5777 GB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3472, allocations: 0.9993 MB / 0.5787 GB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3472, allocations: 1.719 kB / 0.5787 GB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001866/0.349, allocations: 1.24 MB / 0.5799 GB, free: 6.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.349, allocations: 6.438 kB / 0.5799 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3491, allocations: 4.969 kB / 0.5799 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.3494, allocations: 169.3 kB / 0.5801 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.35, allocations: 158.1 kB / 0.5802 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.3527, allocations: 2.903 MB / 0.583 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.3533, allocations: 51.45 kB / 0.5831 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.3533, allocations: 24.19 kB / 0.5831 GB, free: 4.004 MB / 382.1 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.000751/0.3541, allocations: 0.5763 MB / 0.5837 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3542, allocations: 91.5 kB / 0.5838 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3544, allocations: 116.5 kB / 0.5839 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3544, allocations: 8 kB / 0.5839 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.3544, allocations: 0 / 0.5839 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.3544, allocations: 3.984 kB / 0.5839 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.3577, allocations: 2.642 MB / 0.5865 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3577, allocations: 0 / 0.5865 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.3582, allocations: 111.9 kB / 0.5866 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.3585, allocations: 160.9 kB / 0.5867 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.3585, allocations: 27.98 kB / 0.5868 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.3622, allocations: 2.857 MB / 0.5895 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3622, allocations: 3.984 kB / 0.5895 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.3652, allocations: 1.728 MB / 0.5912 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.3658, allocations: 187.4 kB / 0.5914 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.3659, allocations: 27.98 kB / 0.5914 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.3664, allocations: 47.95 kB / 0.5915 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.3666, allocations: 80.39 kB / 0.5916 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.3666, allocations: 32.11 kB / 0.5916 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008331/0.3674, allocations: 0.5849 MB / 0.5922 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3674, allocations: 0 / 0.5922 GB, free: 10.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009958/0.3684, allocations: 272 kB / 0.5924 GB, free: 10.25 MB / 398.1 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.003285/0.3717, allocations: 2.301 MB / 0.5947 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3739, allocations: 1.117 MB / 0.5958 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.374, allocations: 0 / 0.5958 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.3752, allocations: 0.6698 MB / 0.5964 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.3765, allocations: 221.3 kB / 0.5966 GB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.3939, allocations: 10.2 MB / 0.6066 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.3955, allocations: 1.524 MB / 0.6081 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006744/0.3962, allocations: 230.7 kB / 0.6083 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/0.3968, allocations: 463.3 kB / 0.6087 GB, free: 9.168 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3968, allocations: 0 / 0.6087 GB, free: 9.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/0.4667, allocations: 25.21 MB / 0.6334 GB, free: 252 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.16, allocations: 4.062 kB / 0.6334 GB, free: 248 kB / 430.1 MB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 16.034545872993476] Failed to read output from testmodel.py, exit status != 0: 13.282556574995397 13.307230499 12.987104847 Calling exit ...