Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001512/0.001512, allocations: 120.2 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.001875/0.001875, allocations: 205 kB / 21.45 MB, free: 1.629 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.493/1.493, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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.002247/0.002247, allocations: 59.84 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1047, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2128/0.3176, allocations: 10.04 MB / 437.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006402/0.324, allocations: 3.407 MB / 440.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.3259, allocations: 90.06 kB / 440.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008301/0.3342, allocations: 3.862 MB / 444.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.3392, allocations: 1.506 MB / 445.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.342, allocations: 1.046 MB / 447 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3543, allocations: 9.265 MB / 456.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02543/0.3798, allocations: 15.81 MB / 472 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.3901, allocations: 5.156 MB / 477.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.4014, allocations: 6.145 MB / 483.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004253/0.4057, allocations: 1.398 MB / 484.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005796/0.4115, allocations: 1.66 MB / 486.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004578/0.4161, allocations: 2.927 MB / 489.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009869/0.4259, allocations: 5.455 MB / 494.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02451/0.4504, allocations: 18.91 MB / 0.5017 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.4505, allocations: 0 / 0.5017 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4505, allocations: 0 / 0.5017 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004917/0.4509, allocations: 4 kB / 0.5017 GB, free: 10.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03871/0.4897, allocations: 12.46 MB / 0.5138 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4897, allocations: 8.031 kB / 0.5138 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005592/0.4953, allocations: 1.328 MB / 0.5151 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05176/0.5471, allocations: 8.424 MB / 0.5234 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.5616, allocations: 5.908 MB / 0.5291 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008095/0.5624, allocations: 0.6584 MB / 0.5298 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004611/0.567, allocations: 0.871 MB / 0.5306 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04142/0.6084, allocations: 16.02 MB / 0.5463 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003764/0.6088, allocations: 15.94 kB / 0.5463 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/0.612, allocations: 368 kB / 0.5466 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006983/0.6126, allocations: 0.5582 MB / 0.5472 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/0.6478, allocations: 15.77 MB / 0.5626 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09626/0.7441, allocations: 48.68 MB / 0.6101 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4136/1.158, allocations: 18.87 MB / 0.6285 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/1.164, allocations: 3.246 MB / 0.6317 GB, free: 139 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/1.164, allocations: 306.5 kB / 0.632 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/1.164, allocations: 80.94 kB / 0.6321 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 7.214e-06/1.164, allocations: 0 / 0.6321 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02858/1.193, allocations: 11.56 MB / 0.6434 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/1.193, allocations: 125.3 kB / 0.6435 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/1.199, allocations: 3.847 MB / 0.6472 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007792/1.2, allocations: 106.5 kB / 0.6473 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002251/1.202, allocations: 4.045 MB / 0.6513 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.204, allocations: 1.686 MB / 0.6529 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/1.207, allocations: 1.493 MB / 0.6544 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/1.207, allocations: 304.8 kB / 0.6547 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005402/1.213, allocations: 3.692 MB / 0.6583 GB, free: 127.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/1.219, allocations: 6.535 MB / 0.6647 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.23, allocations: 10.85 MB / 0.6753 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.6e-05/1.23, allocations: 23.41 kB / 0.6753 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02039/1.25, allocations: 11.97 MB / 0.687 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.25, allocations: 47.94 kB / 0.687 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.251, allocations: 96 kB / 0.6871 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/1.256, allocations: 1.616 MB / 0.6887 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/1.262, allocations: 1.677 MB / 0.6903 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.279, allocations: 17.67 MB / 0.7076 GB, free: 88.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006001/1.285, allocations: 0.9742 MB / 0.7085 GB, free: 87.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/1.286, allocations: 360 kB / 0.7089 GB, free: 86.75 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006517/1.292, allocations: 3.758 MB / 0.7126 GB, free: 82.97 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.294, allocations: 409.3 kB / 0.7129 GB, free: 82.57 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.309, allocations: 8.53 MB / 0.7213 GB, free: 73.95 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/1.309, allocations: 52 kB / 0.7213 GB, free: 73.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-05/1.309, allocations: 12 kB / 0.7213 GB, free: 73.89 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001085/1.31, allocations: 31.84 kB / 0.7214 GB, free: 73.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/1.341, allocations: 16.79 MB / 0.7378 GB, free: 57.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/1.341, allocations: 0 / 0.7378 GB, free: 57.04 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.344, allocations: 0.8698 MB / 0.7386 GB, free: 56.16 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004747/1.349, allocations: 1.512 MB / 0.7401 GB, free: 54.63 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008836/1.35, allocations: 112 kB / 0.7402 GB, free: 54.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.366, allocations: 17.47 MB / 0.7573 GB, free: 36.24 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.366, allocations: 7.938 kB / 0.7573 GB, free: 36.23 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/1.384, allocations: 12.25 MB / 0.7692 GB, free: 23.77 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/1.387, allocations: 1.126 MB / 0.7703 GB, free: 22.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.388, allocations: 84 kB / 0.7704 GB, free: 22.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.391, allocations: 299.7 kB / 0.7707 GB, free: 22.25 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/1.393, allocations: 329.3 kB / 0.771 GB, free: 21.93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000496/1.393, allocations: 140 kB / 0.7711 GB, free: 21.79 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003987/1.397, allocations: 2.578 MB / 0.7737 GB, free: 19.22 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.397, allocations: 0 / 0.7737 GB, free: 19.22 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009386/1.406, allocations: 2.407 MB / 0.776 GB, free: 16.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02094/1.427, allocations: 12.98 MB / 0.7887 GB, free: 3.605 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01745/1.445, allocations: 9.018 MB / 0.7975 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.445, allocations: 4 kB / 0.7975 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009109/1.454, allocations: 4.185 MB / 0.8016 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005399/1.459, allocations: 0.7346 MB / 0.8023 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3321/1.791, allocations: 61.25 MB / 0.8621 GB, free: 148.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008402/1.8, allocations: 6.043 MB / 0.868 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007306/1.807, allocations: 3.256 MB / 0.8712 GB, free: 145.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005599/1.813, allocations: 3.07 MB / 0.8742 GB, free: 142.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.204e-06/1.813, allocations: 0 / 0.8742 GB, free: 142.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/1.994, allocations: 127.2 MB / 0.9984 GB, free: 18.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.74/21.74, allocations: 13.61 kB / 0.9984 GB, free: 18.81 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.432156494352967] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ie.re', 'Ie.im', 'Im.re', 'Im.im'] 21.910254846792668 21.924036311 21.470036322 Calling exit ...