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.001403/0.001403, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001412/0.001412, allocations: 208 kB / 24.54 MB, free: 4.055 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.002091/0.002091, allocations: 68.77 kB / 378.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2459, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01292/0.2588, allocations: 10.07 MB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.2671, allocations: 3.431 MB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.269, allocations: 83.62 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009744/0.2787, allocations: 3.882 MB / 449.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.284, allocations: 1.562 MB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.287, allocations: 1.071 MB / 452 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.2988, allocations: 9.352 MB / 461.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01988/0.3187, allocations: 12.95 MB / 474.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007707/0.3264, allocations: 5.183 MB / 479.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3367, allocations: 6.161 MB / 485.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003652/0.3403, allocations: 1.398 MB / 487.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.3458, allocations: 1.656 MB / 488.7 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00496/0.3507, allocations: 2.93 MB / 491.7 MB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009366/0.3601, allocations: 5.448 MB / 497.1 MB, free: 5.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.3827, allocations: 18.91 MB / 0.5039 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3827, allocations: 0 / 0.5039 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3827, allocations: 0 / 0.5039 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004456/0.3831, allocations: 0 / 0.5039 GB, free: 2.449 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.03629/0.4194, allocations: 12.38 MB / 0.516 GB, free: 5.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4194, allocations: 8.031 kB / 0.516 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004165/0.4236, allocations: 1.328 MB / 0.5173 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05006/0.4737, allocations: 8.425 MB / 0.5256 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.4874, allocations: 6.023 MB / 0.5314 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007162/0.4881, allocations: 0.6623 MB / 0.5321 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003788/0.4919, allocations: 0.8632 MB / 0.5329 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4101/0.902, allocations: 16.02 MB / 0.5486 GB, free: 80.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002807/0.9022, allocations: 9.938 kB / 0.5486 GB, free: 80.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/0.9045, allocations: 370.9 kB / 0.5489 GB, free: 80.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.9049, allocations: 0.5543 MB / 0.5495 GB, free: 80.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.9308, allocations: 15.77 MB / 0.5649 GB, free: 72.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.063/0.9938, allocations: 46.68 MB / 0.6105 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/1.007, allocations: 8.514 MB / 0.6188 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/1.011, allocations: 3.246 MB / 0.6219 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/1.011, allocations: 146.3 kB / 0.6221 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/1.011, allocations: 86.56 kB / 0.6222 GB, free: 13.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.164e-06/1.011, allocations: 0 / 0.6222 GB, free: 13.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02009/1.031, allocations: 11.1 MB / 0.633 GB, free: 2.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.031, allocations: 129.1 kB / 0.6331 GB, free: 2.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/1.036, allocations: 3.851 MB / 0.6369 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006986/1.037, allocations: 97.7 kB / 0.637 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003367/1.04, allocations: 4.049 MB / 0.6409 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002209/1.043, allocations: 1.684 MB / 0.6426 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002678/1.045, allocations: 1.492 MB / 0.644 GB, free: 7.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/1.046, allocations: 301.1 kB / 0.6443 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006416/1.052, allocations: 3.695 MB / 0.6479 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00932/1.061, allocations: 6.535 MB / 0.6543 GB, free: 12.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/1.078, allocations: 10.85 MB / 0.6649 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.055e-05/1.078, allocations: 31.94 kB / 0.6649 GB, free: 15.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02518/1.103, allocations: 11.96 MB / 0.6766 GB, free: 3.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/1.103, allocations: 48 kB / 0.6767 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.103, allocations: 95.94 kB / 0.6768 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/1.109, allocations: 1.617 MB / 0.6783 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/1.115, allocations: 1.681 MB / 0.68 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/1.138, allocations: 17.05 MB / 0.6966 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/1.144, allocations: 0.978 MB / 0.6976 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.145, allocations: 360 kB / 0.6979 GB, free: 13.32 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.007255/1.152, allocations: 3.758 MB / 0.7016 GB, free: 9.551 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009832/1.153, allocations: 409.3 kB / 0.702 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/1.171, allocations: 8.534 MB / 0.7103 GB, free: 0.5273 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-05/1.171, allocations: 51.94 kB / 0.7104 GB, free: 488 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/1.171, allocations: 12 kB / 0.7104 GB, free: 476 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.906e-05/1.171, allocations: 27.91 kB / 0.7104 GB, free: 448 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.207, allocations: 16.85 MB / 0.7269 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/1.207, allocations: 4 kB / 0.7269 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/1.211, allocations: 0.8659 MB / 0.7277 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004996/1.216, allocations: 1.522 MB / 0.7292 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007742/1.216, allocations: 108 kB / 0.7293 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2564/1.473, allocations: 16.85 MB / 0.7458 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.473, allocations: 14.78 kB / 0.7458 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.491, allocations: 12.25 MB / 0.7577 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.493, allocations: 1.082 MB / 0.7588 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006855/1.494, allocations: 83.53 kB / 0.7589 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.496, allocations: 306.4 kB / 0.7592 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007725/1.497, allocations: 335.5 kB / 0.7595 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/1.497, allocations: 150.6 kB / 0.7596 GB, free: 169 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003842/1.501, allocations: 2.573 MB / 0.7621 GB, free: 168.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.501, allocations: 0 / 0.7621 GB, free: 168.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006806/1.508, allocations: 2.407 MB / 0.7645 GB, free: 167.6 MB / 0.545 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.01736/1.525, allocations: 12.97 MB / 0.7772 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.538, allocations: 9.02 MB / 0.786 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.538, allocations: 3.375 kB / 0.786 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006676/1.545, allocations: 4.177 MB / 0.7901 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.549, allocations: 0.7432 MB / 0.7908 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08366/1.632, allocations: 61.4 MB / 0.8507 GB, free: 86.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008147/1.64, allocations: 6.053 MB / 0.8567 GB, free: 80.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00714/1.648, allocations: 3.255 MB / 0.8598 GB, free: 77.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005172/1.653, allocations: 3.065 MB / 0.8628 GB, free: 74.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.653, allocations: 0 / 0.8628 GB, free: 74.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/2.074, allocations: 133.8 MB / 0.9935 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/22.76, allocations: 7.141 kB / 0.9935 GB, free: 169.5 MB / 0.5607 GB " [Timeout remaining time 637] (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: 25.318516112864017] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ie.re', 'Ie.im', 'Im.re', 'Im.im'] 22.914489278104156 22.932525018 22.545676815 Calling exit ...