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: 123.6 kB / 18.45 MB, free: 4.59 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.001493/0.001493, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.489/1.489, allocations: 227.7 MB / 251.9 MB, free: 15.88 MB / 206.1 MB " [Timeout remaining time 178] 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.00267/0.00267, allocations: 71.83 kB / 365.2 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1205, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01215/0.1327, allocations: 9.746 MB / 425.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.1391, allocations: 2.748 MB / 428.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.1409, allocations: 75.81 kB / 428.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009548/0.1504, allocations: 4.19 MB / 432.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.1538, allocations: 0.764 MB / 433.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.1564, allocations: 0.9606 MB / 434.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005407/0.1618, allocations: 4.058 MB / 438.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2478/0.4096, allocations: 10.95 MB / 449.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.4133, allocations: 2.36 MB / 451.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004443/0.4177, allocations: 2.653 MB / 454.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.4196, allocations: 0.6625 MB / 454.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.4226, allocations: 0.892 MB / 455.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.4241, allocations: 1.238 MB / 457.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.4281, allocations: 2.556 MB / 459.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4393, allocations: 8.929 MB / 468.5 MB, free: 5.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4394, allocations: 4 kB / 468.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4394, allocations: 0 / 468.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000272/0.4397, allocations: 1.25 kB / 468.6 MB, free: 5.09 MB / 366.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.01625/0.4559, allocations: 5.413 MB / 474 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.456, allocations: 10.34 kB / 474 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001427/0.4574, allocations: 0.6522 MB / 474.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007633/0.4651, allocations: 1.324 MB / 476 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/0.4706, allocations: 2.614 MB / 478.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.4709, allocations: 355.3 kB / 478.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.4723, allocations: 451.8 kB / 479.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4891, allocations: 6.107 MB / 485.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.4893, allocations: 3.953 kB / 485.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.4903, allocations: 187.5 kB / 485.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.4906, allocations: 195.4 kB / 485.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.5023, allocations: 5.278 MB / 491.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.5399, allocations: 21.02 MB / 0.5001 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007143/0.5471, allocations: 5.579 MB / 0.5056 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.5482, allocations: 0.6595 MB / 0.5062 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.5485, allocations: 194.3 kB / 0.5064 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.5485, allocations: 39.56 kB / 0.5065 GB, free: 12.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.417e-06/0.5486, allocations: 7.938 kB / 0.5065 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002502/0.5511, allocations: 1.444 MB / 0.5079 GB, free: 10.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5511, allocations: 60.41 kB / 0.5079 GB, free: 10.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.5536, allocations: 1.458 MB / 0.5094 GB, free: 9.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.5537, allocations: 41.7 kB / 0.5094 GB, free: 9.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.5552, allocations: 2.046 MB / 0.5114 GB, free: 7.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.5556, allocations: 370.1 kB / 0.5117 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/0.5563, allocations: 475.9 kB / 0.5122 GB, free: 6.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.5565, allocations: 353.9 kB / 0.5125 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.5577, allocations: 0.8124 MB / 0.5133 GB, free: 5.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.5599, allocations: 1.94 MB / 0.5152 GB, free: 2.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.5635, allocations: 2.931 MB / 0.5181 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/0.5636, allocations: 12 kB / 0.5181 GB, free: 15.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004552/0.5681, allocations: 2.798 MB / 0.5208 GB, free: 12.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.5682, allocations: 28.06 kB / 0.5209 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-05/0.5683, allocations: 36 kB / 0.5209 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.309e-05/0.5684, allocations: 56 kB / 0.5209 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.57, allocations: 0.54 MB / 0.5215 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-05/0.5701, allocations: 74.5 kB / 0.5215 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5717, allocations: 305.9 kB / 0.5218 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5718, allocations: 124 kB / 0.5219 GB, free: 11.75 MB / 430.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.002939/0.5748, allocations: 1.668 MB / 0.5236 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.5751, allocations: 135.1 kB / 0.5237 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.5774, allocations: 1.341 MB / 0.525 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001337/0.5788, allocations: 0.9318 MB / 0.5259 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5788, allocations: 0 / 0.5259 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5788, allocations: 3.984 kB / 0.5259 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.5976, allocations: 13.51 MB / 0.5391 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.5976, allocations: 20 kB / 0.5391 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.5984, allocations: 217.9 kB / 0.5394 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.001e-05/0.5984, allocations: 24 kB / 0.5394 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.5985, allocations: 55.92 kB / 0.5394 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-05/0.5986, allocations: 35.2 kB / 0.5395 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-05/0.5986, allocations: 35.25 kB / 0.5395 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.6019, allocations: 2.45 MB / 0.5419 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/0.6027, allocations: 323.9 kB / 0.5422 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.6029, allocations: 47.98 kB / 0.5422 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.6036, allocations: 59.89 kB / 0.5423 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6038, allocations: 137.4 kB / 0.5424 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.6039, allocations: 51.98 kB / 0.5425 GB, free: 5.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001656/0.6055, allocations: 0.9994 MB / 0.5435 GB, free: 4.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6055, allocations: 0 / 0.5435 GB, free: 4.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003243/0.6088, allocations: 0.9491 MB / 0.5444 GB, free: 3.785 MB / 446.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.004021/0.6128, allocations: 3.107 MB / 0.5474 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00338/0.6162, allocations: 1.869 MB / 0.5492 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/0.6163, allocations: 4 kB / 0.5492 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.6172, allocations: 0.5797 MB / 0.5498 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.6197, allocations: 379.2 kB / 0.5502 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.6551, allocations: 19.59 MB / 0.5693 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/0.6586, allocations: 3.071 MB / 0.5723 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002125/0.6607, allocations: 0.817 MB / 0.5731 GB, free: 4.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/0.6626, allocations: 1.257 MB / 0.5743 GB, free: 3.426 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6626, allocations: 4 kB / 0.5743 GB, free: 3.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0879/0.7505, allocations: 42.35 MB / 0.6157 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.01, allocations: 3.859 kB / 0.6157 GB, free: 9.332 MB / 0.5137 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 13.788098071003333] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.10228377301246 11.312240572 10.870381951 Calling exit ...