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.001314/0.001314, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001568/0.001568, allocations: 215.7 kB / 23 MB, free: 5.582 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.466/1.466, allocations: 230.5 MB / 256.5 MB, free: 8.223 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.001925/0.001925, allocations: 67.84 kB / 376.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 53.32 MB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01305/0.2806, allocations: 10.06 MB / 439.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.2885, allocations: 3.427 MB / 443 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.2905, allocations: 75.75 kB / 443.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009902/0.3004, allocations: 3.853 MB / 447 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.3056, allocations: 1.5 MB / 448.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.3084, allocations: 1.053 MB / 449.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.3202, allocations: 9.287 MB / 458.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02275/0.3429, allocations: 12.21 MB / 471 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007599/0.3505, allocations: 5.085 MB / 476.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01/0.3605, allocations: 6.157 MB / 482.2 MB, free: 2.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002961/0.3635, allocations: 1.398 MB / 483.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.3675, allocations: 1.652 MB / 485.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/0.3708, allocations: 2.926 MB / 488.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008668/0.3795, allocations: 5.459 MB / 493.7 MB, free: 6.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02182/0.4013, allocations: 18.91 MB / 0.5006 GB, free: 4.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4013, allocations: 0 / 0.5006 GB, free: 4.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4013, allocations: 0 / 0.5006 GB, free: 4.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004274/0.4017, allocations: 0 / 0.5006 GB, free: 4.012 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.03628/0.438, allocations: 12.45 MB / 0.5127 GB, free: 7.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.438, allocations: 8.031 kB / 0.5127 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004252/0.4423, allocations: 1.328 MB / 0.514 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04986/0.4922, allocations: 8.421 MB / 0.5223 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.5057, allocations: 5.915 MB / 0.528 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007408/0.5064, allocations: 0.6623 MB / 0.5287 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003524/0.51, allocations: 0.8671 MB / 0.5295 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.426/0.9359, allocations: 16.02 MB / 0.5452 GB, free: 81.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/0.9362, allocations: 8.906 kB / 0.5452 GB, free: 81.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.9378, allocations: 374.2 kB / 0.5455 GB, free: 80.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004126/0.9382, allocations: 0.5673 MB / 0.5461 GB, free: 80.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/0.9627, allocations: 15.77 MB / 0.5615 GB, free: 74.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06242/1.025, allocations: 48.67 MB / 0.609 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/1.039, allocations: 18.86 MB / 0.6275 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.043, allocations: 3.246 MB / 0.6306 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/1.043, allocations: 304.2 kB / 0.6309 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/1.043, allocations: 82.56 kB / 0.631 GB, free: 444 kB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.7e-06/1.043, allocations: 0 / 0.631 GB, free: 444 kB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02447/1.068, allocations: 11.56 MB / 0.6423 GB, free: 4.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/1.068, allocations: 129.1 kB / 0.6424 GB, free: 4.594 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007/1.075, allocations: 3.85 MB / 0.6462 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.075, allocations: 97.7 kB / 0.6463 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003156/1.079, allocations: 4.046 MB / 0.6502 GB, free: 13.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.081, allocations: 1.685 MB / 0.6519 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/1.083, allocations: 1.492 MB / 0.6533 GB, free: 9.891 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/1.084, allocations: 301.1 kB / 0.6536 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005961/1.09, allocations: 3.695 MB / 0.6572 GB, free: 5.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008625/1.098, allocations: 6.531 MB / 0.6636 GB, free: 14.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/1.114, allocations: 10.85 MB / 0.6742 GB, free: 1.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/1.114, allocations: 31.94 kB / 0.6742 GB, free: 1.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03418/1.149, allocations: 11.96 MB / 0.6859 GB, free: 5.812 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.149, allocations: 44 kB / 0.6859 GB, free: 5.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/1.149, allocations: 95.94 kB / 0.686 GB, free: 5.676 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008023/1.157, allocations: 1.621 MB / 0.6876 GB, free: 4.035 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.167, allocations: 1.677 MB / 0.6893 GB, free: 2.355 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/1.192, allocations: 17.67 MB / 0.7065 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005932/1.197, allocations: 0.9664 MB / 0.7075 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.199, allocations: 368 kB / 0.7078 GB, free: 14.52 MB / 0.5294 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.006617/1.205, allocations: 3.754 MB / 0.7115 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008888/1.206, allocations: 417.3 kB / 0.7119 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.222, allocations: 8.526 MB / 0.7202 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/1.222, allocations: 51.94 kB / 0.7202 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/1.222, allocations: 12.12 kB / 0.7203 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/1.222, allocations: 31.84 kB / 0.7203 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03213/1.255, allocations: 16.79 MB / 0.7367 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.255, allocations: 4 kB / 0.7367 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003703/1.258, allocations: 0.8659 MB / 0.7375 GB, free: 15.79 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005079/1.263, allocations: 1.519 MB / 0.739 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005841/1.264, allocations: 112 kB / 0.7391 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2989/1.563, allocations: 17.46 MB / 0.7562 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/1.563, allocations: 6.375 kB / 0.7562 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02955/1.592, allocations: 12.25 MB / 0.7681 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003912/1.596, allocations: 1.124 MB / 0.7692 GB, free: 185 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/1.598, allocations: 83.59 kB / 0.7693 GB, free: 184.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004707/1.603, allocations: 299.1 kB / 0.7696 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/1.604, allocations: 322.4 kB / 0.7699 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004917/1.604, allocations: 151.6 kB / 0.7701 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005685/1.61, allocations: 2.573 MB / 0.7726 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.1e-07/1.61, allocations: 0 / 0.7726 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0122/1.622, allocations: 2.411 MB / 0.7749 GB, free: 183.4 MB / 0.5607 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.02889/1.651, allocations: 12.98 MB / 0.7876 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02002/1.671, allocations: 9.015 MB / 0.7964 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.671, allocations: 0 / 0.7964 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007922/1.679, allocations: 4.18 MB / 0.8005 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00606/1.685, allocations: 0.7387 MB / 0.8012 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09098/1.776, allocations: 61.4 MB / 0.8612 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006538/1.783, allocations: 6.049 MB / 0.8671 GB, free: 97.57 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006535/1.789, allocations: 3.247 MB / 0.8702 GB, free: 94.31 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00464/1.794, allocations: 3.065 MB / 0.8732 GB, free: 91.25 MB / 0.5607 GB Notification: Performance of SimCode: time 1.753e-06/1.794, allocations: 0 / 0.8732 GB, free: 91.25 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4589/2.253, allocations: 127.9 MB / 0.9982 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/22.82, allocations: 0 / 0.9982 GB, free: 175.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.407919307996053] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ie.re', 'Ie.im', 'Im.re', 'Im.im'] 22.96808048602543 22.983418986 22.578347051 Calling exit ...