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.001317/0.001317, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.414/1.414, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.001545/0.001545, allocations: 225.4 kB / 309.2 MB, free: 2.957 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.04095/0.04095, allocations: 8.912 MB / 374.6 MB, free: 1.738 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.002976/0.002976, allocations: 87.86 kB / 0.4891 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2897, allocations: 55.59 MB / 0.5434 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004099/0.2938, allocations: 3.751 MB / 0.5471 GB, free: 24.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2954, allocations: 1.131 MB / 0.5482 GB, free: 23.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2956, allocations: 31.31 kB / 0.5482 GB, free: 23.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.2959, allocations: 170.1 kB / 0.5484 GB, free: 23.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.2966, allocations: 295.3 kB / 0.5487 GB, free: 23.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.297, allocations: 178.8 kB / 0.5488 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.298, allocations: 1.61 MB / 0.5504 GB, free: 22.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.2989, allocations: 0.8016 MB / 0.5512 GB, free: 21.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.2997, allocations: 0.7725 MB / 0.552 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3007, allocations: 0.9352 MB / 0.5529 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.3009, allocations: 193 kB / 0.5531 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.3012, allocations: 204 kB / 0.5532 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.3016, allocations: 0.534 MB / 0.5538 GB, free: 20.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005637/0.3021, allocations: 0.7021 MB / 0.5545 GB, free: 20.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3039, allocations: 2.51 MB / 0.5569 GB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3039, allocations: 0.5625 kB / 0.5569 GB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3039, allocations: 0 / 0.5569 GB, free: 19.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.135e-05/0.304, allocations: 0 / 0.5569 GB, free: 19.38 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.003532/0.3075, allocations: 2.269 MB / 0.5591 GB, free: 18.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3076, allocations: 13.03 kB / 0.5591 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/0.3078, allocations: 213 kB / 0.5593 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.3084, allocations: 208.4 kB / 0.5595 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.3101, allocations: 0.995 MB / 0.5605 GB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.3102, allocations: 110.6 kB / 0.5606 GB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.3104, allocations: 153.4 kB / 0.5608 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.3133, allocations: 1.997 MB / 0.5627 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.3133, allocations: 1.891 kB / 0.5627 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3134, allocations: 60.12 kB / 0.5628 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.3134, allocations: 34.27 kB / 0.5628 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.3161, allocations: 1.593 MB / 0.5644 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006903/0.323, allocations: 4.364 MB / 0.5686 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3242, allocations: 0.8802 MB / 0.5695 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3253, allocations: 0.6397 MB / 0.5701 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.3253, allocations: 7.625 kB / 0.5701 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.3261, allocations: 0.6767 MB / 0.5708 GB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/0.3261, allocations: 0 / 0.5708 GB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00406/0.3301, allocations: 2.727 MB / 0.5734 GB, free: 11.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3302, allocations: 139.2 kB / 0.5736 GB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.331, allocations: 0.839 MB / 0.5744 GB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.3311, allocations: 47.66 kB / 0.5744 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.3315, allocations: 0.6266 MB / 0.575 GB, free: 9.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3316, allocations: 281 kB / 0.5753 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.3318, allocations: 148.3 kB / 0.5755 GB, free: 9.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.3319, allocations: 400.5 kB / 0.5758 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.3325, allocations: 415.8 kB / 0.5762 GB, free: 8.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.3331, allocations: 0.6767 MB / 0.5769 GB, free: 8.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3343, allocations: 0.9978 MB / 0.5779 GB, free: 7.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.3343, allocations: 1.281 kB / 0.5779 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001763/0.3361, allocations: 1.252 MB / 0.5791 GB, free: 7.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3361, allocations: 9.281 kB / 0.5791 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3361, allocations: 5.469 kB / 0.5791 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.3365, allocations: 176.3 kB / 0.5793 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.337, allocations: 154.6 kB / 0.5794 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3395, allocations: 2.865 MB / 0.5822 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.34, allocations: 47.97 kB / 0.5823 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.3401, allocations: 28 kB / 0.5823 GB, free: 4.48 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.0006087/0.3407, allocations: 0.5719 MB / 0.5828 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3408, allocations: 91.44 kB / 0.5829 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.341, allocations: 108.5 kB / 0.583 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.341, allocations: 8 kB / 0.583 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.341, allocations: 4 kB / 0.5831 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.341, allocations: 3.984 kB / 0.5831 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.3444, allocations: 2.533 MB / 0.5855 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3445, allocations: 0 / 0.5855 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.3449, allocations: 115.8 kB / 0.5856 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.3452, allocations: 160.7 kB / 0.5858 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.3452, allocations: 23.98 kB / 0.5858 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/0.3483, allocations: 2.826 MB / 0.5886 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3484, allocations: 3.938 kB / 0.5886 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.351, allocations: 1.736 MB / 0.5903 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.3515, allocations: 183.4 kB / 0.5904 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.3517, allocations: 31.98 kB / 0.5905 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.3521, allocations: 43.95 kB / 0.5905 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.3523, allocations: 80.45 kB / 0.5906 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.3524, allocations: 27.98 kB / 0.5906 GB, free: 11.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008059/0.3532, allocations: 0.5888 MB / 0.5912 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 0.5912 GB, free: 11.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3543, allocations: 267.9 kB / 0.5915 GB, free: 10.88 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.003135/0.3574, allocations: 2.308 MB / 0.5937 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3595, allocations: 1.109 MB / 0.5948 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3595, allocations: 0 / 0.5948 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.3606, allocations: 0.6704 MB / 0.5954 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3618, allocations: 231.1 kB / 0.5957 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.3793, allocations: 10.2 MB / 0.6056 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.3808, allocations: 0.9302 MB / 0.6065 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006694/0.3814, allocations: 230.7 kB / 0.6068 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/0.3822, allocations: 463.3 kB / 0.6072 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3822, allocations: 0 / 0.6072 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09039/0.4726, allocations: 26.27 MB / 0.6328 GB, free: 484 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.5, allocations: 5.719 kB / 0.6329 GB, free: 484 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: 15.238889584317803] Failed to read output from testmodel.py, exit status != 0: 12.621072007808834 12.636024718 12.329060476 Calling exit ...