Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001817/0.001817, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.002241/0.002241, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.573/1.573, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",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.001997/0.001997, allocations: 71.81 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1148, allocations: 53.32 MB / 427 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2437/0.3585, allocations: 6.672 MB / 433.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.3629, allocations: 2.258 MB / 435.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.364, allocations: 53.22 kB / 436 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.365, allocations: 384.9 kB / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.3675, allocations: 0.8562 MB / 437.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.3683, allocations: 358.7 kB / 437.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004201/0.3725, allocations: 3.193 MB / 440.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.3746, allocations: 1.505 MB / 442.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.377, allocations: 1.324 MB / 443.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.3804, allocations: 1.65 MB / 445.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008951/0.3813, allocations: 293.6 kB / 445.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.3831, allocations: 436.3 kB / 446 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009755/0.3841, allocations: 0.854 MB / 446.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.3868, allocations: 1.468 MB / 448.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.3942, allocations: 4.112 MB / 452.4 MB, free: 152 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3942, allocations: 0 / 452.4 MB, free: 152 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3942, allocations: 1.344 kB / 452.4 MB, free: 152 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.3943, allocations: 0 / 452.4 MB, free: 152 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01293/0.4073, allocations: 3.558 MB / 456 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4073, allocations: 9.531 kB / 456 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008918/0.4082, allocations: 336.4 kB / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/0.4132, allocations: 0.7508 MB / 457 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.4176, allocations: 1.736 MB / 458.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.4178, allocations: 173.5 kB / 458.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/0.4188, allocations: 241.6 kB / 459.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007689/0.4264, allocations: 3.202 MB / 462.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.4265, allocations: 0 / 462.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.4268, allocations: 92.41 kB / 462.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.4269, allocations: 71.3 kB / 462.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005641/0.4325, allocations: 2.873 MB / 465.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.4517, allocations: 9.172 MB / 474.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/0.4575, allocations: 4.323 MB / 478.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.4591, allocations: 0.755 MB / 479.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005459/0.4646, allocations: 3.153 MB / 482.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.4646, allocations: 58.77 kB / 482.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.776e-06/0.4646, allocations: 0 / 482.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009435/0.4741, allocations: 4.28 MB / 487.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.4741, allocations: 119.4 kB / 487.3 MB, free: 3.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.4767, allocations: 1.618 MB / 488.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.4769, allocations: 45.7 kB / 488.9 MB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.4779, allocations: 1.149 MB / 490.1 MB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.4783, allocations: 369.1 kB / 490.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.4788, allocations: 242.8 kB / 490.7 MB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.479, allocations: 357.9 kB / 491 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.4802, allocations: 0.6348 MB / 491.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.4816, allocations: 1.016 MB / 492.7 MB, free: 13.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.4844, allocations: 1.697 MB / 494.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4844, allocations: 4 kB / 494.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004037/0.4884, allocations: 1.952 MB / 496.3 MB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.4885, allocations: 15.94 kB / 496.4 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4885, allocations: 12.88 kB / 496.4 MB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.4889, allocations: 121.6 kB / 496.5 MB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.4903, allocations: 336.3 kB / 496.8 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.494, allocations: 3.432 MB / 0.4885 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4957, allocations: 99.61 kB / 0.4886 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4959, allocations: 59.98 kB / 0.4887 GB, free: 5.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001745/0.4977, allocations: 0.8291 MB / 0.4895 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.4981, allocations: 159 kB / 0.4896 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.501, allocations: 1.389 MB / 0.491 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.501, allocations: 12 kB / 0.491 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5011, allocations: 7.938 kB / 0.491 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5011, allocations: 3.984 kB / 0.491 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.506, allocations: 2.45 MB / 0.4934 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.506, allocations: 3.938 kB / 0.4934 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/0.5069, allocations: 187.8 kB / 0.4936 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008692/0.5078, allocations: 258.5 kB / 0.4938 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.5079, allocations: 31.98 kB / 0.4939 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006945/0.5149, allocations: 6.266 MB / 0.5 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5149, allocations: 0 / 0.5 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.5199, allocations: 2.555 MB / 0.5025 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/0.5207, allocations: 256 kB / 0.5027 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/0.5212, allocations: 32.11 kB / 0.5028 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5222, allocations: 95.89 kB / 0.5028 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.5225, allocations: 100.1 kB / 0.5029 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-05/0.5226, allocations: 31.98 kB / 0.503 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.5245, allocations: 1.135 MB / 0.5041 GB, free: 4.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5245, allocations: 0 / 0.5041 GB, free: 4.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002212/0.5267, allocations: 440 kB / 0.5045 GB, free: 4.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005086/0.5318, allocations: 3.171 MB / 0.5076 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.5351, allocations: 1.672 MB / 0.5092 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5351, allocations: 4.062 kB / 0.5092 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.5373, allocations: 1.154 MB / 0.5104 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.5393, allocations: 278 kB / 0.5106 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/0.5718, allocations: 17.45 MB / 0.5277 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.574, allocations: 2.105 MB / 0.5297 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.5754, allocations: 451.5 kB / 0.5301 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.5766, allocations: 0.8273 MB / 0.531 GB, free: 8.715 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5766, allocations: 0 / 0.531 GB, free: 8.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09753/0.6741, allocations: 38.67 MB / 0.5687 GB, free: 2.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.99, allocations: 4.688 kB / 0.5687 GB, free: 2.449 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.729941200930625] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor_e.i[1]', 'resistor_e.i[2]', 'resistor_s.i[1]', 'resistor_s.i[2]', 'resistor_m.i[1]', 'resistor_m.i[2]'] 14.100733695086092 14.121889449 13.723472072 Calling exit ...