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.001344/0.001344, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.429/1.429, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001542/0.001542, allocations: 217 kB / 309.2 MB, free: 3.137 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.04131/0.04131, allocations: 8.916 MB / 374.6 MB, free: 6.648 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.002584/0.002584, allocations: 87.88 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08441, allocations: 55.62 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005651/0.09007, allocations: 3.733 MB / 0.5471 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.09237, allocations: 1.153 MB / 0.5482 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.09263, allocations: 31.75 kB / 0.5482 GB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.093, allocations: 166.8 kB / 0.5484 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007612/0.09376, allocations: 294.4 kB / 0.5487 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.09412, allocations: 183.7 kB / 0.5489 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.09575, allocations: 1.611 MB / 0.5504 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.09681, allocations: 0.8041 MB / 0.5512 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.09768, allocations: 0.7789 MB / 0.552 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.09887, allocations: 0.9301 MB / 0.5529 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.09913, allocations: 188 kB / 0.5531 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.09951, allocations: 212 kB / 0.5533 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004868/0.1, allocations: 0.5182 MB / 0.5538 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.1009, allocations: 0.7118 MB / 0.5545 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.1036, allocations: 2.499 MB / 0.5569 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1037, allocations: 0 / 0.5569 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.1037, allocations: 3.984 kB / 0.5569 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.716e-05/0.1037, allocations: 0 / 0.5569 GB, free: 7.18 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.00412/0.1078, allocations: 2.275 MB / 0.5591 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1079, allocations: 11.98 kB / 0.5591 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002967/0.1082, allocations: 211 kB / 0.5593 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/0.1088, allocations: 207.8 kB / 0.5595 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.1109, allocations: 1.007 MB / 0.5605 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.111, allocations: 107.1 kB / 0.5606 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.1112, allocations: 147.9 kB / 0.5608 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.1144, allocations: 2.004 MB / 0.5627 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.1144, allocations: 0 / 0.5627 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.1145, allocations: 56 kB / 0.5628 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.1146, allocations: 32 kB / 0.5628 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2075/0.3221, allocations: 1.589 MB / 0.5644 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006624/0.3287, allocations: 4.364 MB / 0.5686 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.33, allocations: 0.8788 MB / 0.5695 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.3311, allocations: 0.6261 MB / 0.5701 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.3312, allocations: 9.891 kB / 0.5701 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.3321, allocations: 0.6812 MB / 0.5708 GB, free: 23.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 3.427e-06/0.3321, allocations: 1.172 kB / 0.5708 GB, free: 23.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004551/0.3367, allocations: 2.72 MB / 0.5734 GB, free: 22.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3367, allocations: 139.8 kB / 0.5736 GB, free: 22.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3377, allocations: 0.8369 MB / 0.5744 GB, free: 22.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.3378, allocations: 46.86 kB / 0.5744 GB, free: 22.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.3382, allocations: 0.632 MB / 0.575 GB, free: 21.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3384, allocations: 278.1 kB / 0.5753 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3386, allocations: 151.1 kB / 0.5755 GB, free: 21.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3388, allocations: 402.7 kB / 0.5758 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.3394, allocations: 411.5 kB / 0.5762 GB, free: 20.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.3401, allocations: 0.681 MB / 0.5769 GB, free: 20.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.3414, allocations: 0.9956 MB / 0.5779 GB, free: 20.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3414, allocations: 1.375 kB / 0.5779 GB, free: 20.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002117/0.3435, allocations: 1.251 MB / 0.5791 GB, free: 19.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3436, allocations: 6.5 kB / 0.5791 GB, free: 19.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3436, allocations: 9.344 kB / 0.5791 GB, free: 19.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.344, allocations: 164.7 kB / 0.5793 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.3447, allocations: 157.8 kB / 0.5794 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.3475, allocations: 2.865 MB / 0.5822 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.3482, allocations: 50.33 kB / 0.5823 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.3482, allocations: 31.56 kB / 0.5823 GB, free: 17.47 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.0008406/0.3491, allocations: 0.5647 MB / 0.5828 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3492, allocations: 94.73 kB / 0.5829 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.3494, allocations: 110.7 kB / 0.583 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3494, allocations: 9.203 kB / 0.583 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.3494, allocations: 2.656 kB / 0.583 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3494, allocations: 8.125 kB / 0.5831 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.3536, allocations: 2.517 MB / 0.5855 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3536, allocations: 2.531 kB / 0.5855 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.3541, allocations: 115.3 kB / 0.5856 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003257/0.3544, allocations: 163.2 kB / 0.5858 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.3545, allocations: 26.2 kB / 0.5858 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.357, allocations: 2.84 MB / 0.5886 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.357, allocations: 1.062 kB / 0.5886 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.3593, allocations: 1.728 MB / 0.5903 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.3598, allocations: 195.7 kB / 0.5905 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3599, allocations: 26.92 kB / 0.5905 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3603, allocations: 40.62 kB / 0.5905 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.3605, allocations: 74.44 kB / 0.5906 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.3605, allocations: 32.02 kB / 0.5906 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006612/0.3612, allocations: 0.5923 MB / 0.5912 GB, free: 12.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 0.5912 GB, free: 12.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009277/0.3621, allocations: 277.4 kB / 0.5915 GB, free: 12.51 MB / 382.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.002305/0.3644, allocations: 2.302 MB / 0.5937 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.3661, allocations: 1.11 MB / 0.5948 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3661, allocations: 1.219 kB / 0.5948 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.367, allocations: 0.6675 MB / 0.5954 GB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.368, allocations: 225.1 kB / 0.5957 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.3793, allocations: 10.2 MB / 0.6056 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.3801, allocations: 0.9288 MB / 0.6065 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005323/0.3806, allocations: 230.8 kB / 0.6067 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.3811, allocations: 455.3 kB / 0.6072 GB, free: 112 kB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3811, allocations: 0 / 0.6072 GB, free: 112 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09964/0.4807, allocations: 26.27 MB / 0.6328 GB, free: 6.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.32, allocations: 11.5 kB / 0.6328 GB, free: 6.141 MB / 414.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 & /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: 15.064782598987222] Failed to read output from testmodel.py, exit status != 0: 12.445895480923355 12.470958229 12.362838749 Calling exit ...