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.001816/0.001816, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001597/0.001597, allocations: 214 kB / 310 MB, free: 3.047 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.04187/0.04187, allocations: 8.923 MB / 375.4 MB, free: 6.574 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="cs",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.002363/0.002363, allocations: 83.86 kB / 0.4899 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08241, allocations: 55.62 MB / 0.5442 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005716/0.08813, allocations: 3.733 MB / 0.5479 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.09041, allocations: 1.137 MB / 0.549 GB, free: 156 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.09078, allocations: 31.81 kB / 0.549 GB, free: 124 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.09124, allocations: 174.7 kB / 0.5492 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.09234, allocations: 294.4 kB / 0.5494 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.09289, allocations: 183.7 kB / 0.5496 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.09484, allocations: 1.615 MB / 0.5512 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.09613, allocations: 0.8158 MB / 0.552 GB, free: 13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.09743, allocations: 0.775 MB / 0.5528 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.09923, allocations: 0.9106 MB / 0.5536 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.09959, allocations: 192 kB / 0.5538 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.1001, allocations: 196 kB / 0.554 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.1006, allocations: 0.5297 MB / 0.5545 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.1015, allocations: 0.7041 MB / 0.5552 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.1039, allocations: 2.507 MB / 0.5577 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1039, allocations: 0 / 0.5577 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1039, allocations: 0 / 0.5577 GB, free: 7.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.104, allocations: 0 / 0.5577 GB, free: 7.176 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.003842/0.1078, allocations: 2.277 MB / 0.5599 GB, free: 4.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1079, allocations: 19.92 kB / 0.5599 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.559e-05/0.1079, allocations: 34.95 kB / 0.5599 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/0.1082, allocations: 215 kB / 0.5601 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006129/0.1088, allocations: 211.8 kB / 0.5603 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.1105, allocations: 0.9988 MB / 0.5613 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.1106, allocations: 114.9 kB / 0.5614 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.1108, allocations: 136 kB / 0.5616 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.1141, allocations: 2.008 MB / 0.5635 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.1141, allocations: 3.984 kB / 0.5635 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.1143, allocations: 60 kB / 0.5636 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.1143, allocations: 32 kB / 0.5636 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1869/0.3012, allocations: 1.589 MB / 0.5652 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.3077, allocations: 4.36 MB / 0.5694 GB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.309, allocations: 0.8756 MB / 0.5703 GB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.31, allocations: 0.6313 MB / 0.5709 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.31, allocations: 9.422 kB / 0.5709 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.3109, allocations: 0.6755 MB / 0.5716 GB, free: 23.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.906e-06/0.3109, allocations: 0 / 0.5716 GB, free: 23.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004229/0.3151, allocations: 2.714 MB / 0.5742 GB, free: 22.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3152, allocations: 143.3 kB / 0.5743 GB, free: 22.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009535/0.3161, allocations: 0.8341 MB / 0.5752 GB, free: 22.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3162, allocations: 43.53 kB / 0.5752 GB, free: 21.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.3166, allocations: 0.6379 MB / 0.5758 GB, free: 21.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.3167, allocations: 273.8 kB / 0.5761 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.317, allocations: 158.4 kB / 0.5762 GB, free: 21.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3171, allocations: 404.6 kB / 0.5766 GB, free: 20.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.3177, allocations: 406.6 kB / 0.577 GB, free: 20.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.3184, allocations: 0.6767 MB / 0.5777 GB, free: 20.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3196, allocations: 1.005 MB / 0.5787 GB, free: 19.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.3196, allocations: 2.109 kB / 0.5787 GB, free: 19.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001813/0.3214, allocations: 1.238 MB / 0.5799 GB, free: 19.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3214, allocations: 7.984 kB / 0.5799 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3215, allocations: 6.969 kB / 0.5799 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.3219, allocations: 170.9 kB / 0.58 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.3225, allocations: 161.8 kB / 0.5802 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.3251, allocations: 2.862 MB / 0.583 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.3257, allocations: 51.81 kB / 0.583 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.3257, allocations: 34.03 kB / 0.5831 GB, free: 17.3 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.0008208/0.3265, allocations: 0.5566 MB / 0.5836 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3267, allocations: 95.31 kB / 0.5837 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.3269, allocations: 112.8 kB / 0.5838 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3269, allocations: 8.938 kB / 0.5838 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.3269, allocations: 3.438 kB / 0.5838 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3269, allocations: 4.984 kB / 0.5838 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.3312, allocations: 2.526 MB / 0.5863 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3312, allocations: 1.219 kB / 0.5863 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.3317, allocations: 115.2 kB / 0.5864 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.332, allocations: 164.4 kB / 0.5866 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.3321, allocations: 25.84 kB / 0.5866 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.3347, allocations: 2.843 MB / 0.5894 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3347, allocations: 1.188 kB / 0.5894 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.3369, allocations: 1.73 MB / 0.5911 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.3373, allocations: 187.1 kB / 0.5912 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3375, allocations: 26.55 kB / 0.5913 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3379, allocations: 49.48 kB / 0.5913 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.338, allocations: 80.2 kB / 0.5914 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3381, allocations: 25.05 kB / 0.5914 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007288/0.3388, allocations: 0.5884 MB / 0.592 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3388, allocations: 0 / 0.592 GB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001173/0.34, allocations: 269.8 kB / 0.5922 GB, free: 12.34 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.002629/0.3426, allocations: 2.305 MB / 0.5945 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3445, allocations: 1.115 MB / 0.5956 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3445, allocations: 4.531 kB / 0.5956 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009455/0.3454, allocations: 0.6662 MB / 0.5962 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3466, allocations: 214.5 kB / 0.5964 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.3591, allocations: 10.2 MB / 0.6064 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.3598, allocations: 0.9185 MB / 0.6073 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005245/0.3603, allocations: 232.4 kB / 0.6075 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.3609, allocations: 463.7 kB / 0.608 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3609, allocations: 4 kB / 0.608 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.419, allocations: 26.1 MB / 0.6335 GB, free: 6.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.36, allocations: 6.406 kB / 0.6335 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.317289102007635] Failed to read output from testmodel.py, exit status != 0: 13.537230125977658 13.562435259999999 13.453873423 Calling exit ...