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.001349/0.001349, allocations: 109.6 kB / 16.46 MB, free: 6.453 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.602/1.602, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.002515/0.002515, allocations: 207.8 kB / 306 MB, free: 4.32 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.04274/0.04274, allocations: 8.902 MB / 371 MB, free: 3.453 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.002467/0.002467, allocations: 84.3 kB / 495.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2871, allocations: 55.57 MB / 0.5384 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.00477/0.2919, allocations: 4.087 MB / 0.5424 GB, free: 23.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.2952, allocations: 1.194 MB / 0.5435 GB, free: 22.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009567/0.2961, allocations: 35.03 kB / 0.5436 GB, free: 22.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.2967, allocations: 171.6 kB / 0.5437 GB, free: 22.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009927/0.2977, allocations: 281.9 kB / 0.544 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.2981, allocations: 181.5 kB / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.2994, allocations: 1.606 MB / 0.5457 GB, free: 21.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.3004, allocations: 1.137 MB / 0.5468 GB, free: 21.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.3012, allocations: 0.7715 MB / 0.5476 GB, free: 20.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009754/0.3022, allocations: 0.9129 MB / 0.5485 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.3024, allocations: 190.5 kB / 0.5487 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.3028, allocations: 207.2 kB / 0.5489 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003779/0.3032, allocations: 0.5278 MB / 0.5494 GB, free: 20.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008107/0.304, allocations: 0.8685 MB / 0.5502 GB, free: 19.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.306, allocations: 2.486 MB / 0.5527 GB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.306, allocations: 4 kB / 0.5527 GB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.306, allocations: 2.875 kB / 0.5527 GB, free: 18.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.156e-05/0.306, allocations: 3.375 kB / 0.5527 GB, free: 18.7 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.003144/0.3091, allocations: 1.932 MB / 0.5546 GB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3092, allocations: 12.5 kB / 0.5546 GB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.3094, allocations: 213.9 kB / 0.5548 GB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.31, allocations: 206.5 kB / 0.555 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3114, allocations: 1.061 MB / 0.556 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.3115, allocations: 105.6 kB / 0.5561 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.3117, allocations: 144.5 kB / 0.5562 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.3146, allocations: 1.931 MB / 0.5581 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.3146, allocations: 0.6094 kB / 0.5581 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.3147, allocations: 57.2 kB / 0.5582 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.3147, allocations: 32.69 kB / 0.5582 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.3173, allocations: 1.594 MB / 0.5598 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007454/0.3248, allocations: 4.82 MB / 0.5645 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3263, allocations: 1.797 MB / 0.5662 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3275, allocations: 0.6334 MB / 0.5669 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.3275, allocations: 9.234 kB / 0.5669 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.3285, allocations: 0.6003 MB / 0.5674 GB, free: 10.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.195e-06/0.3285, allocations: 0 / 0.5674 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.005028/0.3335, allocations: 2.798 MB / 0.5702 GB, free: 9.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.3336, allocations: 144.3 kB / 0.5703 GB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3346, allocations: 0.8343 MB / 0.5711 GB, free: 8.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.3347, allocations: 46.41 kB / 0.5712 GB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.3352, allocations: 0.6311 MB / 0.5718 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3354, allocations: 276.3 kB / 0.5721 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3356, allocations: 152.2 kB / 0.5722 GB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3357, allocations: 396.8 kB / 0.5726 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.3363, allocations: 419.8 kB / 0.573 GB, free: 7.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.3371, allocations: 0.5954 MB / 0.5736 GB, free: 6.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.3385, allocations: 0.9977 MB / 0.5745 GB, free: 6.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3385, allocations: 1.406 kB / 0.5745 GB, free: 6.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002073/0.3406, allocations: 1.247 MB / 0.5758 GB, free: 5.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3406, allocations: 5.375 kB / 0.5758 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3406, allocations: 5.406 kB / 0.5758 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.341, allocations: 174.2 kB / 0.5759 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.3416, allocations: 157.8 kB / 0.5761 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.3443, allocations: 2.992 MB / 0.579 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.3449, allocations: 49.52 kB / 0.5791 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.345, allocations: 30.31 kB / 0.5791 GB, free: 2.859 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[3],switch.control[2],switch.control[1]) * 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.001192/0.3462, allocations: 0.551 MB / 0.5796 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.3464, allocations: 98.61 kB / 0.5797 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.3466, allocations: 108.8 kB / 0.5798 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3466, allocations: 8.109 kB / 0.5798 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.3467, allocations: 2.312 kB / 0.5798 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3467, allocations: 9.031 kB / 0.5798 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.3504, allocations: 2.658 MB / 0.5824 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3505, allocations: 4 kB / 0.5824 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.351, allocations: 111.8 kB / 0.5825 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/0.3514, allocations: 168.7 kB / 0.5827 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/0.3515, allocations: 23.98 kB / 0.5827 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/0.3549, allocations: 2.933 MB / 0.5856 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3549, allocations: 0 / 0.5856 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.3578, allocations: 1.74 MB / 0.5873 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.3583, allocations: 256.5 kB / 0.5875 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3584, allocations: 27.98 kB / 0.5876 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.3589, allocations: 47.95 kB / 0.5876 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.3591, allocations: 72.48 kB / 0.5877 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.3591, allocations: 27.94 kB / 0.5877 GB, free: 10.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008532/0.36, allocations: 0.5887 MB / 0.5883 GB, free: 9.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 0.5883 GB, free: 9.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00106/0.361, allocations: 268 kB / 0.5885 GB, free: 9.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * 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.003231/0.3643, allocations: 2.302 MB / 0.5908 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3665, allocations: 1.113 MB / 0.5919 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3665, allocations: 4.188 kB / 0.5919 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3676, allocations: 0.6618 MB / 0.5925 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3688, allocations: 234.6 kB / 0.5927 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.3849, allocations: 10.18 MB / 0.6027 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.3865, allocations: 1.516 MB / 0.6042 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007002/0.3872, allocations: 226.7 kB / 0.6044 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.3879, allocations: 467.3 kB / 0.6048 GB, free: 8.578 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3879, allocations: 0 / 0.6048 GB, free: 8.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09095/0.4789, allocations: 24.57 MB / 0.6288 GB, free: 268 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.93, allocations: 7.984 kB / 0.6288 GB, free: 260 kB / 430.1 MB " [Timeout remaining time 648] (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: 14.868764362006914] Failed to read output from testmodel.py, exit status != 0: 12.022039100003894 12.039578828 11.730267438 Calling exit ...