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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 227.7 MB / 247.2 MB, free: 10.22 MB / 206.1 MB 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.001899/0.001899, allocations: 59.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2848, allocations: 50.54 MB / 409 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00886/0.2937, allocations: 6.646 MB / 415.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.299, allocations: 2.258 MB / 418 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3003, allocations: 47.81 kB / 418 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3015, allocations: 369.5 kB / 418.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.3042, allocations: 0.8277 MB / 419.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.3052, allocations: 355.3 kB / 419.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.3094, allocations: 3.191 MB / 422.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.3119, allocations: 2.007 MB / 424.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.3137, allocations: 1.289 MB / 426 MB, free: 312 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.316, allocations: 1.623 MB / 427.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.3166, allocations: 292 kB / 427.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3177, allocations: 435.8 kB / 428.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.3185, allocations: 0.849 MB / 429.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.3204, allocations: 1.47 MB / 430.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.3251, allocations: 4.113 MB / 434.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3251, allocations: 0 / 434.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3251, allocations: 0 / 434.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.717e-05/0.3252, allocations: 0 / 434.8 MB, free: 7.512 MB / 350.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.008955/0.3342, allocations: 3.553 MB / 438.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3342, allocations: 12.03 kB / 438.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005083/0.3347, allocations: 333.2 kB / 438.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.3391, allocations: 0.7758 MB / 439.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.3427, allocations: 1.735 MB / 441.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3429, allocations: 173 kB / 441.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.3434, allocations: 231.9 kB / 441.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.3497, allocations: 3.203 MB / 444.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.3498, allocations: 0 / 444.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.3501, allocations: 92 kB / 444.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.519e-05/0.3502, allocations: 73.98 kB / 444.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005602/0.3558, allocations: 2.862 MB / 447.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.3737, allocations: 9.163 MB / 457 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005865/0.3796, allocations: 4.381 MB / 461.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.3811, allocations: 0.8122 MB / 462.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/0.386, allocations: 3.146 MB / 465.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.3861, allocations: 54.83 kB / 465.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.016e-06/0.3861, allocations: 0 / 465.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008766/0.3949, allocations: 4.286 MB / 469.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.395, allocations: 115.2 kB / 469.8 MB, free: 2.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3975, allocations: 1.618 MB / 471.4 MB, free: 1.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.3977, allocations: 41.7 kB / 471.4 MB, free: 1.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008997/0.3986, allocations: 1.149 MB / 472.6 MB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.3991, allocations: 377 kB / 472.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.3995, allocations: 234.9 kB / 473.2 MB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3997, allocations: 357.9 kB / 473.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4008, allocations: 0.631 MB / 474.2 MB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.4023, allocations: 1.023 MB / 475.2 MB, free: 13.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.4049, allocations: 1.691 MB / 476.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.4049, allocations: 4 kB / 476.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003579/0.4085, allocations: 1.949 MB / 478.8 MB, free: 9.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.4086, allocations: 11.94 kB / 478.8 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4086, allocations: 12 kB / 478.8 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.409, allocations: 121.6 kB / 479 MB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.4103, allocations: 339.6 kB / 479.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.4138, allocations: 3.419 MB / 482.7 MB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.415, allocations: 103.7 kB / 482.8 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.4152, allocations: 59.92 kB / 482.9 MB, free: 5.195 MB / 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.001495/0.4167, allocations: 0.8367 MB / 483.7 MB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/0.4171, allocations: 163 kB / 483.9 MB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.4199, allocations: 1.393 MB / 485.3 MB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.4199, allocations: 15.94 kB / 485.3 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.42, allocations: 4 kB / 485.3 MB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.42, allocations: 3.984 kB / 485.3 MB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/0.4243, allocations: 2.465 MB / 487.7 MB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4244, allocations: 4 kB / 487.8 MB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.4253, allocations: 183.8 kB / 487.9 MB, free: 28 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007364/0.426, allocations: 257.6 kB / 488.2 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.4261, allocations: 35.97 kB / 488.2 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006476/0.4326, allocations: 6.247 MB / 494.5 MB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4326, allocations: 3.938 kB / 494.5 MB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/0.4371, allocations: 2.558 MB / 497 MB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.4377, allocations: 263.9 kB / 497.3 MB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.4379, allocations: 32.17 kB / 497.3 MB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.4388, allocations: 91.91 kB / 497.4 MB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.4391, allocations: 96.23 kB / 497.5 MB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.4392, allocations: 31.98 kB / 497.5 MB, free: 5.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001687/0.4409, allocations: 1.139 MB / 498.7 MB, free: 4.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4409, allocations: 0 / 498.7 MB, free: 4.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4426, allocations: 443.9 kB / 499.1 MB, free: 4.371 MB / 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.004696/0.4474, allocations: 3.175 MB / 0.4905 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003209/0.4506, allocations: 1.714 MB / 0.4922 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4506, allocations: 0 / 0.4922 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.4527, allocations: 1.18 MB / 0.4933 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4544, allocations: 277.6 kB / 0.4936 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/0.4833, allocations: 17.46 MB / 0.5106 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.4854, allocations: 2.113 MB / 0.5127 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.4867, allocations: 455.5 kB / 0.5131 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.4879, allocations: 0.8234 MB / 0.5139 GB, free: 8.516 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4879, allocations: 0 / 0.5139 GB, free: 8.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3024/0.7903, allocations: 38.34 MB / 0.5514 GB, free: 122.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.34, allocations: 11.25 kB / 0.5514 GB, free: 122.8 MB / 462.1 MB (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 --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)