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.001311/0.001311, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001427/0.001427, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002057/0.002057, allocations: 68.53 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2767, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008538/0.2852, allocations: 6.679 MB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.2901, allocations: 2.289 MB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.291, allocations: 51.69 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.292, allocations: 381.5 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.2943, allocations: 0.8589 MB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.2952, allocations: 371.2 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004151/0.2994, allocations: 3.194 MB / 445.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.3009, allocations: 1.101 MB / 446.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3028, allocations: 1.328 MB / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.3053, allocations: 1.658 MB / 449.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.3057, allocations: 296 kB / 450.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.3067, allocations: 431.9 kB / 450.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008085/0.3075, allocations: 0.8567 MB / 451.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.3094, allocations: 1.466 MB / 452.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.3143, allocations: 4.112 MB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3144, allocations: 8 kB / 457 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3144, allocations: 0 / 457 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.028e-05/0.3144, allocations: 0 / 457 MB, free: 13.7 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008313/0.3228, allocations: 3.474 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3228, allocations: 8.031 kB / 460.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004526/0.3233, allocations: 337.1 kB / 460.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.3274, allocations: 0.7602 MB / 461.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.3308, allocations: 1.679 MB / 463.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.331, allocations: 177 kB / 463.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.3314, allocations: 235.9 kB / 463.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/0.337, allocations: 3.215 MB / 466.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.3371, allocations: 0 / 466.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.3373, allocations: 92 kB / 466.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.3374, allocations: 70 kB / 467 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005055/0.3424, allocations: 2.87 MB / 469.9 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.3581, allocations: 9.034 MB / 478.9 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.362, allocations: 1.842 MB / 480.8 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.3633, allocations: 0.7601 MB / 481.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004173/0.3674, allocations: 2.253 MB / 483.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.3675, allocations: 46.89 kB / 483.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.445e-06/0.3675, allocations: 0 / 483.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008059/0.3756, allocations: 4.14 MB / 488 MB, free: 14.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.3756, allocations: 115.2 kB / 488.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.3779, allocations: 1.625 MB / 489.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.378, allocations: 45.7 kB / 489.7 MB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.3789, allocations: 1.141 MB / 490.9 MB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.3792, allocations: 372.8 kB / 491.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.3796, allocations: 238.8 kB / 491.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3798, allocations: 361.9 kB / 491.8 MB, free: 10.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3809, allocations: 0.6388 MB / 492.5 MB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.3823, allocations: 1.004 MB / 493.5 MB, free: 8.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.3848, allocations: 1.707 MB / 495.2 MB, free: 6.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3848, allocations: 4 kB / 495.2 MB, free: 6.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003499/0.3883, allocations: 1.953 MB / 497.1 MB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3883, allocations: 11.94 kB / 497.1 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.3883, allocations: 12 kB / 497.2 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.3887, allocations: 130.2 kB / 497.3 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.39, allocations: 335.5 kB / 497.6 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.3933, allocations: 3.225 MB / 0.4891 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.3944, allocations: 99.73 kB / 0.4892 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.3945, allocations: 55.98 kB / 0.4892 GB, free: 436 kB / 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.00143/0.396, allocations: 0.8292 MB / 0.4901 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3963, allocations: 162.9 kB / 0.4902 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.3989, allocations: 1.389 MB / 0.4916 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3989, allocations: 15.94 kB / 0.4916 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3989, allocations: 11.92 kB / 0.4916 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3989, allocations: 7.984 kB / 0.4916 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.4032, allocations: 2.43 MB / 0.494 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4032, allocations: 3.938 kB / 0.494 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.404, allocations: 187.8 kB / 0.4942 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/0.4047, allocations: 261.2 kB / 0.4944 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/0.4048, allocations: 39.97 kB / 0.4944 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006442/0.4112, allocations: 5.94 MB / 0.5002 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4112, allocations: 4.062 kB / 0.5002 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.4155, allocations: 2.558 MB / 0.5027 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.416, allocations: 182.9 kB / 0.5029 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.4162, allocations: 31.92 kB / 0.503 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.417, allocations: 87.91 kB / 0.503 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.4173, allocations: 100.2 kB / 0.5031 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.4173, allocations: 31.98 kB / 0.5032 GB, free: 1.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.419, allocations: 1.135 MB / 0.5043 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.419, allocations: 4 kB / 0.5043 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001532/0.4206, allocations: 444 kB / 0.5047 GB, free: 120 kB / 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.004592/0.4251, allocations: 3.167 MB / 0.5078 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003147/0.4283, allocations: 1.672 MB / 0.5094 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4283, allocations: 0 / 0.5094 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.4303, allocations: 1.154 MB / 0.5105 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.4322, allocations: 277.5 kB / 0.5108 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.4639, allocations: 17.49 MB / 0.5279 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.4665, allocations: 2.105 MB / 0.5299 GB, free: 5.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001473/0.468, allocations: 455.5 kB / 0.5304 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.4694, allocations: 0.8312 MB / 0.5312 GB, free: 4.305 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4694, allocations: 7.938 kB / 0.5312 GB, free: 4.297 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/0.7984, allocations: 39.52 MB / 0.5698 GB, free: 78.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.93, allocations: 12.67 kB / 0.5698 GB, free: 78 MB / 446.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.45426369085908] 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.035394368693233 14.050461645 13.732982055 Calling exit ...