Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 220.7 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.295/1.295, allocations: 230.5 MB / 256.4 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 75.81 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2057, allocations: 53.31 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01048/0.2162, allocations: 9.811 MB / 439.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.2204, allocations: 2.771 MB / 442 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.2209, allocations: 79.75 kB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008003/0.2289, allocations: 4.215 MB / 446.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.2311, allocations: 0.7609 MB / 447 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.233, allocations: 0.9688 MB / 448 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.237, allocations: 4.058 MB / 452.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008424/0.2454, allocations: 6.782 MB / 458.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.2479, allocations: 2.361 MB / 461.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.2508, allocations: 2.659 MB / 463.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.2516, allocations: 0.6641 MB / 464.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.253, allocations: 0.9021 MB / 465.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.254, allocations: 1.243 MB / 466.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.2564, allocations: 2.553 MB / 469.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.2641, allocations: 8.926 MB / 478.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2641, allocations: 4 kB / 478.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2641, allocations: 3.938 kB / 478.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-05/0.2641, allocations: 0 / 478.2 MB, free: 6.406 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01142/0.2756, allocations: 5.409 MB / 483.6 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2756, allocations: 8.031 kB / 483.6 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008773/0.2765, allocations: 0.6617 MB / 484.2 MB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007406/0.2839, allocations: 1.31 MB / 485.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.288, allocations: 2.611 MB / 488.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.2883, allocations: 349.4 kB / 488.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000715/0.289, allocations: 448 kB / 488.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009952/0.2989, allocations: 6.102 MB / 495 MB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/0.299, allocations: 15.95 kB / 495.1 MB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/0.2994, allocations: 192 kB / 495.2 MB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.2996, allocations: 193.5 kB / 495.4 MB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008461/0.3081, allocations: 5.28 MB / 0.489 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.3354, allocations: 21.03 MB / 0.5095 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/0.3417, allocations: 5.486 MB / 0.5149 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009096/0.3426, allocations: 0.6004 MB / 0.5155 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.3429, allocations: 203.1 kB / 0.5157 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.3429, allocations: 43.56 kB / 0.5157 GB, free: 2.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.026e-06/0.3429, allocations: 0 / 0.5157 GB, free: 2.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002157/0.3451, allocations: 1.437 MB / 0.5171 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3451, allocations: 64.41 kB / 0.5172 GB, free: 1.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.3472, allocations: 1.466 MB / 0.5186 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.3472, allocations: 37.7 kB / 0.5186 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.3485, allocations: 2.045 MB / 0.5206 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.3488, allocations: 365 kB / 0.521 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.3494, allocations: 475.9 kB / 0.5214 GB, free: 12.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3496, allocations: 361.9 kB / 0.5218 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3508, allocations: 0.8085 MB / 0.5226 GB, free: 11.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.3527, allocations: 1.945 MB / 0.5245 GB, free: 9.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.3559, allocations: 2.923 MB / 0.5273 GB, free: 5.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.3559, allocations: 12 kB / 0.5273 GB, free: 5.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003985/0.3599, allocations: 2.801 MB / 0.5301 GB, free: 2.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.36, allocations: 24 kB / 0.5301 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/0.36, allocations: 40.84 kB / 0.5301 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.167e-05/0.3601, allocations: 55.98 kB / 0.5302 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.3616, allocations: 0.5381 MB / 0.5307 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.267e-05/0.3617, allocations: 83.66 kB / 0.5308 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3629, allocations: 297.9 kB / 0.5311 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.3631, allocations: 124 kB / 0.5312 GB, free: 1.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002342/0.3654, allocations: 1.668 MB / 0.5328 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.3657, allocations: 139.2 kB / 0.5329 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.3677, allocations: 1.334 MB / 0.5343 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001259/0.3689, allocations: 0.9396 MB / 0.5352 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3689, allocations: 4 kB / 0.5352 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3689, allocations: 3.984 kB / 0.5352 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1951/0.564, allocations: 13.51 MB / 0.5484 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.5641, allocations: 20 kB / 0.5484 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.5648, allocations: 212.2 kB / 0.5486 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.5648, allocations: 27.28 kB / 0.5486 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.5648, allocations: 50.95 kB / 0.5487 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-05/0.5649, allocations: 37.47 kB / 0.5487 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/0.5649, allocations: 29.91 kB / 0.5487 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.5671, allocations: 2.46 MB / 0.5511 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.5675, allocations: 328.4 kB / 0.5514 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5676, allocations: 50.44 kB / 0.5515 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.5682, allocations: 55.06 kB / 0.5515 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5683, allocations: 141.4 kB / 0.5517 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.5684, allocations: 53.95 kB / 0.5517 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.5694, allocations: 0.9908 MB / 0.5527 GB, free: 108.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5694, allocations: 0 / 0.5527 GB, free: 108.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002071/0.5715, allocations: 0.9522 MB / 0.5536 GB, free: 108.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002338/0.5738, allocations: 3.094 MB / 0.5566 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.5756, allocations: 1.794 MB / 0.5584 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5756, allocations: 3.969 kB / 0.5584 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.5761, allocations: 0.5617 MB / 0.559 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.5778, allocations: 382.8 kB / 0.5593 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.595, allocations: 19.59 MB / 0.5784 GB, free: 90.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.5968, allocations: 3.075 MB / 0.5815 GB, free: 88.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.5981, allocations: 0.8171 MB / 0.5822 GB, free: 87.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/0.5991, allocations: 1.257 MB / 0.5835 GB, free: 86.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5991, allocations: 0 / 0.5835 GB, free: 86.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/0.6568, allocations: 43.13 MB / 0.6256 GB, free: 43.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/9.782, allocations: 9.797 kB / 0.6256 GB, free: 43.12 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93666303899954]