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.001662/0.001662, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002048/0.002048, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002004/0.002004, allocations: 60.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2783, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008612/0.2869, allocations: 6.703 MB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.2918, allocations: 2.281 MB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000933/0.2927, allocations: 55.62 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009734/0.2937, allocations: 389.4 kB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.2965, allocations: 0.8574 MB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2975, allocations: 359.2 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004933/0.3025, allocations: 3.195 MB / 445.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3043, allocations: 1.102 MB / 446.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.307, allocations: 1.332 MB / 448.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.3096, allocations: 1.65 MB / 449.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007189/0.3103, allocations: 292 kB / 450.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3117, allocations: 439.7 kB / 450.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.3127, allocations: 0.8568 MB / 451.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.3151, allocations: 1.47 MB / 452.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.3208, allocations: 4.11 MB / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.3208, allocations: 0 / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3208, allocations: 3.938 kB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.321, allocations: 0 / 457 MB, free: 13.68 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.009158/0.3301, allocations: 3.478 MB / 460.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3302, allocations: 8.031 kB / 460.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005492/0.3307, allocations: 337.1 kB / 460.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.335, allocations: 0.7602 MB / 461.6 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/0.3389, allocations: 1.683 MB / 463.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3391, allocations: 173 kB / 463.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/0.3397, allocations: 235.9 kB / 463.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.3464, allocations: 3.203 MB / 466.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.3465, allocations: 0 / 466.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.3467, allocations: 92 kB / 466.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.793e-05/0.3468, allocations: 66 kB / 467 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/0.3523, allocations: 2.878 MB / 469.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.3709, allocations: 9.042 MB / 478.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.3751, allocations: 1.844 MB / 480.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3765, allocations: 0.7705 MB / 481.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004497/0.381, allocations: 2.253 MB / 483.8 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.381, allocations: 50.88 kB / 483.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.875e-06/0.3811, allocations: 0 / 483.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.0082/0.3893, allocations: 4.128 MB / 488 MB, free: 14.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.3893, allocations: 119.2 kB / 488.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.3917, allocations: 1.625 MB / 489.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3918, allocations: 41.7 kB / 489.7 MB, free: 12.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009022/0.3927, allocations: 1.141 MB / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.3931, allocations: 372.9 kB / 491.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.3934, allocations: 238.8 kB / 491.5 MB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3936, allocations: 357.9 kB / 491.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3947, allocations: 0.6426 MB / 492.5 MB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3961, allocations: 1.011 MB / 493.5 MB, free: 8.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.3986, allocations: 1.694 MB / 495.2 MB, free: 6.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3986, allocations: 8 kB / 495.2 MB, free: 6.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003544/0.4021, allocations: 1.949 MB / 497.1 MB, free: 4.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4022, allocations: 11.94 kB / 497.1 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4022, allocations: 12.56 kB / 497.2 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.4026, allocations: 129.6 kB / 497.3 MB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4039, allocations: 327.5 kB / 497.6 MB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.4071, allocations: 3.228 MB / 0.4891 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.4083, allocations: 95.67 kB / 0.4892 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4085, allocations: 59.92 kB / 0.4892 GB, free: 416 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.001551/0.41, allocations: 0.829 MB / 0.4901 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.4104, allocations: 162.9 kB / 0.4902 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.4131, allocations: 1.389 MB / 0.4916 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4131, allocations: 16 kB / 0.4916 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4131, allocations: 7.938 kB / 0.4916 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4131, allocations: 3.984 kB / 0.4916 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.4177, allocations: 2.437 MB / 0.494 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4177, allocations: 8.031 kB / 0.494 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.4185, allocations: 187.8 kB / 0.4942 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007306/0.4193, allocations: 265.2 kB / 0.4944 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.4193, allocations: 31.98 kB / 0.4944 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/0.4259, allocations: 5.939 MB / 0.5002 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4259, allocations: 288 / 0.5002 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.4303, allocations: 2.554 MB / 0.5027 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008697/0.4312, allocations: 183.1 kB / 0.5029 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.4315, allocations: 39.88 kB / 0.5029 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/0.4324, allocations: 91.89 kB / 0.503 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.4327, allocations: 108.1 kB / 0.5031 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.4328, allocations: 31.98 kB / 0.5032 GB, free: 1.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001891/0.4347, allocations: 1.135 MB / 0.5043 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4347, allocations: 0 / 0.5043 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001761/0.4365, allocations: 444 kB / 0.5047 GB, free: 96 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.00502/0.4415, allocations: 3.169 MB / 0.5078 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.4447, allocations: 1.667 MB / 0.5094 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4447, allocations: 0 / 0.5094 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4468, allocations: 1.158 MB / 0.5106 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.4486, allocations: 277.2 kB / 0.5108 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.4766, allocations: 17.48 MB / 0.5279 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.4788, allocations: 2.105 MB / 0.5299 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.4801, allocations: 451.6 kB / 0.5304 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.4813, allocations: 0.8312 MB / 0.5312 GB, free: 4.281 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4813, allocations: 4 kB / 0.5312 GB, free: 4.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2888/0.7701, allocations: 39.52 MB / 0.5698 GB, free: 78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.64, allocations: 4.5 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 & /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: 16.1117135589011] 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]'] 13.751866242848337 13.770325413 13.445635803 Calling exit ...