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.001948/0.001948, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.505/1.505, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.00168/0.00168, allocations: 204.9 kB / 309.2 MB, free: 3.133 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.0433/0.0433, allocations: 8.916 MB / 374.6 MB, free: 1.883 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.002536/0.002536, allocations: 84.11 kB / 0.4892 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2816, allocations: 55.6 MB / 0.5435 GB, free: 26.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004125/0.2857, allocations: 4.115 MB / 0.5475 GB, free: 23.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2876, allocations: 1.191 MB / 0.5487 GB, free: 22.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.2879, allocations: 38.66 kB / 0.5487 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2882, allocations: 171.2 kB / 0.5489 GB, free: 22.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.289, allocations: 293.3 kB / 0.5492 GB, free: 22.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2893, allocations: 180.7 kB / 0.5493 GB, free: 22.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.2907, allocations: 1.614 MB / 0.5509 GB, free: 21.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008723/0.2916, allocations: 0.8188 MB / 0.5517 GB, free: 21.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007365/0.2923, allocations: 0.7766 MB / 0.5525 GB, free: 21.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2934, allocations: 0.8982 MB / 0.5533 GB, free: 20.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.2936, allocations: 190.7 kB / 0.5535 GB, free: 20.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.2939, allocations: 211.9 kB / 0.5537 GB, free: 20.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.2943, allocations: 0.5297 MB / 0.5542 GB, free: 20.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007382/0.295, allocations: 0.8689 MB / 0.5551 GB, free: 19.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.2972, allocations: 2.495 MB / 0.5575 GB, free: 18.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2972, allocations: 4 kB / 0.5575 GB, free: 18.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2972, allocations: 0 / 0.5575 GB, free: 18.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.918e-05/0.2972, allocations: 0 / 0.5575 GB, free: 18.8 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.003803/0.301, allocations: 2.264 MB / 0.5597 GB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3011, allocations: 13.25 kB / 0.5598 GB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.3013, allocations: 211.8 kB / 0.56 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.302, allocations: 206.5 kB / 0.5602 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.3038, allocations: 0.9971 MB / 0.5611 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.3039, allocations: 108.6 kB / 0.5612 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.3041, allocations: 146.1 kB / 0.5614 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.3077, allocations: 1.922 MB / 0.5633 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.3077, allocations: 5.359 kB / 0.5633 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.3079, allocations: 56.38 kB / 0.5633 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.3079, allocations: 32.78 kB / 0.5633 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.311, allocations: 1.599 MB / 0.5649 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008591/0.3196, allocations: 4.757 MB / 0.5695 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.321, allocations: 0.9004 MB / 0.5704 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.322, allocations: 0.632 MB / 0.571 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.3221, allocations: 7.812 kB / 0.5711 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.3229, allocations: 0.6026 MB / 0.5716 GB, free: 11.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/0.3229, allocations: 1.375 kB / 0.5716 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004338/0.3272, allocations: 2.725 MB / 0.5743 GB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.3273, allocations: 138.9 kB / 0.5744 GB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.3282, allocations: 0.8319 MB / 0.5752 GB, free: 9.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.3283, allocations: 46.12 kB / 0.5753 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.3288, allocations: 0.6302 MB / 0.5759 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.3289, allocations: 281 kB / 0.5762 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3291, allocations: 152.1 kB / 0.5763 GB, free: 8.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3293, allocations: 400.8 kB / 0.5767 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.3299, allocations: 411.9 kB / 0.5771 GB, free: 8.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.3306, allocations: 0.5993 MB / 0.5777 GB, free: 7.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3319, allocations: 0.996 MB / 0.5787 GB, free: 7.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3319, allocations: 1.656 kB / 0.5787 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002204/0.3341, allocations: 1.256 MB / 0.5799 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.3341, allocations: 17.31 kB / 0.5799 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3342, allocations: 3.75 kB / 0.5799 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.3346, allocations: 161.3 kB / 0.5801 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3352, allocations: 162.9 kB / 0.5802 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.3379, allocations: 2.894 MB / 0.583 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.3386, allocations: 47.97 kB / 0.5831 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.3386, allocations: 31.98 kB / 0.5831 GB, free: 3.938 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.000886/0.3395, allocations: 0.5725 MB / 0.5837 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3396, allocations: 95.38 kB / 0.5838 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3398, allocations: 108.5 kB / 0.5839 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3398, allocations: 8 kB / 0.5839 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.3398, allocations: 0 / 0.5839 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3399, allocations: 3.984 kB / 0.5839 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.3434, allocations: 2.65 MB / 0.5865 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3434, allocations: 0 / 0.5865 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.3439, allocations: 116 kB / 0.5866 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.3442, allocations: 154.8 kB / 0.5867 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.3442, allocations: 23.98 kB / 0.5867 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.3477, allocations: 2.863 MB / 0.5895 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3477, allocations: 3.984 kB / 0.5895 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.3505, allocations: 1.72 MB / 0.5912 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/0.3512, allocations: 195.4 kB / 0.5914 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3513, allocations: 31.98 kB / 0.5914 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3518, allocations: 35.97 kB / 0.5915 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.352, allocations: 88.38 kB / 0.5916 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.352, allocations: 20 kB / 0.5916 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009395/0.353, allocations: 0.5927 MB / 0.5922 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.353, allocations: 4 kB / 0.5922 GB, free: 10.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3541, allocations: 264 kB / 0.5924 GB, free: 10.19 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.003174/0.3572, allocations: 2.308 MB / 0.5947 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.3597, allocations: 1.113 MB / 0.5958 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3597, allocations: 0 / 0.5958 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.361, allocations: 0.6704 MB / 0.5964 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3622, allocations: 218.9 kB / 0.5966 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.3789, allocations: 10.2 MB / 0.6066 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.3804, allocations: 1.52 MB / 0.6081 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006911/0.3811, allocations: 226.7 kB / 0.6083 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.3817, allocations: 467.3 kB / 0.6087 GB, free: 9.109 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3817, allocations: 0 / 0.6087 GB, free: 9.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/0.4553, allocations: 25.21 MB / 0.6333 GB, free: 180 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.38, allocations: 7.5 kB / 0.6334 GB, free: 176 kB / 430.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 sys.exit(0), Time elapsed: 16.309681565035135] Failed to read output from testmodel.py, exit status != 0: 13.503496226854622 13.532217107 13.229701907 Calling exit ...