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.001715/0.001715, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001538/0.001538, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.425/1.425, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001929/0.001929, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 53.3 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2181/0.3258, allocations: 6.68 MB / 433.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.3296, allocations: 2.267 MB / 435.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007533/0.3303, allocations: 42.56 kB / 435.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.3312, allocations: 383.1 kB / 436.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3333, allocations: 0.8513 MB / 437.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.3341, allocations: 361.2 kB / 437.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.3379, allocations: 3.186 MB / 440.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.3397, allocations: 1.498 MB / 442.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.3418, allocations: 1.318 MB / 443.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.3449, allocations: 1.638 MB / 445.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008044/0.3457, allocations: 298.4 kB / 445.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.3472, allocations: 428.5 kB / 445.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000814/0.348, allocations: 0.8616 MB / 446.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3502, allocations: 1.463 MB / 448.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006226/0.3565, allocations: 4.121 MB / 452.2 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3565, allocations: 0 / 452.2 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3565, allocations: 0 / 452.2 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.3566, allocations: 1.375 kB / 452.2 MB, free: 300 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.01131/0.368, allocations: 3.554 MB / 455.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.368, allocations: 10.25 kB / 455.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006328/0.3686, allocations: 336.4 kB / 456.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.3731, allocations: 0.7545 MB / 456.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.3785, allocations: 1.733 MB / 458.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.3787, allocations: 178.1 kB / 458.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008532/0.3795, allocations: 237.9 kB / 459 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.3868, allocations: 3.198 MB / 462.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.3869, allocations: 0 / 462.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.3871, allocations: 95.94 kB / 462.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.3872, allocations: 75.58 kB / 462.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005379/0.3926, allocations: 2.863 MB / 465.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.4104, allocations: 9.177 MB / 474.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/0.4158, allocations: 4.319 MB / 478.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4172, allocations: 0.759 MB / 479.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005606/0.4228, allocations: 3.158 MB / 482.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.4228, allocations: 42.89 kB / 482.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.4228, allocations: 0 / 482.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.0103/0.4331, allocations: 4.292 MB / 487 MB, free: 3.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4332, allocations: 119.2 kB / 487.1 MB, free: 3.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.4361, allocations: 1.618 MB / 488.7 MB, free: 1.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.4362, allocations: 45.7 kB / 488.8 MB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009874/0.4372, allocations: 1.141 MB / 489.9 MB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.4377, allocations: 372.9 kB / 490.3 MB, free: 80 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.4382, allocations: 234.8 kB / 490.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4384, allocations: 365.9 kB / 490.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4396, allocations: 0.6349 MB / 491.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4411, allocations: 1.008 MB / 492.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.4439, allocations: 1.706 MB / 494.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.4439, allocations: 4 kB / 494.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003958/0.4479, allocations: 1.944 MB / 496.2 MB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4479, allocations: 10.81 kB / 496.2 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.4479, allocations: 19.94 kB / 496.2 MB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.4483, allocations: 121.6 kB / 496.3 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4497, allocations: 335.5 kB / 496.6 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.4532, allocations: 3.426 MB / 0.4884 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4547, allocations: 103.6 kB / 0.4885 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.4549, allocations: 55.98 kB / 0.4885 GB, free: 5.516 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.001739/0.4566, allocations: 0.8291 MB / 0.4893 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/0.4572, allocations: 163 kB / 0.4895 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.4601, allocations: 1.388 MB / 0.4908 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4601, allocations: 12 kB / 0.4908 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.4602, allocations: 7.938 kB / 0.4908 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4602, allocations: 3.984 kB / 0.4908 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.4658, allocations: 2.45 MB / 0.4932 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.4658, allocations: 4 kB / 0.4932 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.4667, allocations: 187.7 kB / 0.4934 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/0.4674, allocations: 269.6 kB / 0.4937 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4675, allocations: 31.98 kB / 0.4937 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006582/0.4741, allocations: 6.257 MB / 0.4998 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4741, allocations: 288 / 0.4998 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.4788, allocations: 2.554 MB / 0.5023 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.4795, allocations: 260 kB / 0.5026 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.48, allocations: 31.88 kB / 0.5026 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.4811, allocations: 95.89 kB / 0.5027 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.4814, allocations: 96.16 kB / 0.5028 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.4815, allocations: 35.92 kB / 0.5028 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.4837, allocations: 1.132 MB / 0.5039 GB, free: 5.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4837, allocations: 0 / 0.5039 GB, free: 5.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002201/0.4859, allocations: 448 kB / 0.5043 GB, free: 4.719 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.005/0.4909, allocations: 3.175 MB / 0.5074 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.494, allocations: 1.668 MB / 0.5091 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.494, allocations: 7.938 kB / 0.5091 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.496, allocations: 1.137 MB / 0.5102 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.4985, allocations: 283 kB / 0.5105 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.5313, allocations: 17.44 MB / 0.5275 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/0.534, allocations: 2.105 MB / 0.5295 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001358/0.5353, allocations: 459.5 kB / 0.53 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.5367, allocations: 0.8312 MB / 0.5308 GB, free: 8.953 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5367, allocations: 0 / 0.5308 GB, free: 8.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09318/0.6299, allocations: 38.68 MB / 0.5686 GB, free: 2.688 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.55, allocations: 2.953 kB / 0.5686 GB, free: 2.688 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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: 15.984732068609446] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.singlePhaseElectroMagneticConverter[1].Phi.re', 'converter_m.singlePhaseElectroMagneticConverter[2].Phi.im', 'inductor_e.inductor[1].i', 'inductor_e.inductor[2].i', 'inductor_e.inductor[3].i'] 13.65331962890923 13.676210013 13.315409799 Calling exit ...