Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 106.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 59.72 kB / 306.6 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09979, allocations: 50.52 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1993/0.2991, allocations: 21.2 MB / 378.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.3118, allocations: 6.699 MB / 385 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004697/0.3165, allocations: 142.4 kB / 385.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01506/0.3316, allocations: 6.464 MB / 391.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00975/0.3414, allocations: 2.513 MB / 394.1 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.346, allocations: 1.458 MB / 395.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.3604, allocations: 9.086 MB / 404.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02942/0.3899, allocations: 20.32 MB / 425 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008402/0.3983, allocations: 4.66 MB / 429.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009022/0.4074, allocations: 5.214 MB / 434.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004213/0.4117, allocations: 1.352 MB / 436.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006868/0.4185, allocations: 1.699 MB / 437.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004362/0.4229, allocations: 2.615 MB / 440.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009633/0.4326, allocations: 4.969 MB / 445.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02254/0.4552, allocations: 18.13 MB / 463.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4552, allocations: 0 / 463.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4552, allocations: 4 kB / 463.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005307/0.4558, allocations: 4 kB / 463.6 MB, free: 1.98 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: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03708/0.4929, allocations: 10.61 MB / 474.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4929, allocations: 12.03 kB / 474.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004752/0.4977, allocations: 1.09 MB / 475.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03335/0.5311, allocations: 5.891 MB / 481.2 MB, free: 268 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.5459, allocations: 5.585 MB / 486.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/0.5465, allocations: 0.558 MB / 487.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/0.5504, allocations: 0.7342 MB / 488.1 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03771/0.5882, allocations: 12.86 MB / 0.4892 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004671/0.5887, allocations: 19.89 kB / 0.4893 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003436/0.5921, allocations: 308 kB / 0.4895 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006748/0.5928, allocations: 492.1 kB / 0.49 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02695/0.6198, allocations: 12.56 MB / 0.5023 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2694/0.8892, allocations: 41.85 MB / 0.5432 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/0.9065, allocations: 26.22 MB / 0.5688 GB, free: 91.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004833/0.9114, allocations: 3.215 MB / 0.5719 GB, free: 91.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.9118, allocations: 246 kB / 0.5721 GB, free: 91.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.9119, allocations: 71.72 kB / 0.5722 GB, free: 91.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.634e-06/0.9119, allocations: 7.188 kB / 0.5722 GB, free: 91.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.02989/0.9418, allocations: 16.81 MB / 0.5886 GB, free: 85.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9419, allocations: 106.5 kB / 0.5887 GB, free: 85.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.9452, allocations: 2.829 MB / 0.5915 GB, free: 84.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.9455, allocations: 92.83 kB / 0.5916 GB, free: 84.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.9466, allocations: 3.038 MB / 0.5945 GB, free: 81.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007511/0.9474, allocations: 1.4 MB / 0.5959 GB, free: 80.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.9485, allocations: 0.9402 MB / 0.5968 GB, free: 80.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.9486, allocations: 305.1 kB / 0.5971 GB, free: 79.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/0.9513, allocations: 2.499 MB / 0.5996 GB, free: 78.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.9546, allocations: 4.105 MB / 0.6036 GB, free: 74.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006326/0.9609, allocations: 7.174 MB / 0.6106 GB, free: 69.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.961, allocations: 15.84 kB / 0.6106 GB, free: 69.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009986/0.971, allocations: 7.999 MB / 0.6184 GB, free: 62.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.971, allocations: 28 kB / 0.6184 GB, free: 62.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/0.9711, allocations: 48 kB / 0.6185 GB, free: 62.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/0.9738, allocations: 1.212 MB / 0.6197 GB, free: 61.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.977, allocations: 1.123 MB / 0.6208 GB, free: 60 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.9882, allocations: 11.1 MB / 0.6316 GB, free: 48.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.9912, allocations: 275.7 kB / 0.6319 GB, free: 48.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/0.9915, allocations: 235.9 kB / 0.6321 GB, free: 48.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003366/0.9949, allocations: 2.948 MB / 0.635 GB, free: 45.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/0.9954, allocations: 347.8 kB / 0.6353 GB, free: 44.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/1.005, allocations: 6.671 MB / 0.6418 GB, free: 38.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.005, allocations: 44 kB / 0.6419 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.005, allocations: 15.78 kB / 0.6419 GB, free: 38.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.005, allocations: 23.91 kB / 0.6419 GB, free: 38.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.025, allocations: 15.15 MB / 0.6567 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.025, allocations: 11.97 kB / 0.6567 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.028, allocations: 0.745 MB / 0.6574 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/1.03, allocations: 1.11 MB / 0.6585 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/1.031, allocations: 95.97 kB / 0.6586 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.042, allocations: 10.03 MB / 0.6684 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.042, allocations: 11.94 kB / 0.6684 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.054, allocations: 9.96 MB / 0.6781 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.055, allocations: 0.9182 MB / 0.679 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/1.056, allocations: 79.98 kB / 0.6791 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.058, allocations: 203.8 kB / 0.6793 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.058, allocations: 303.2 kB / 0.6796 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.058, allocations: 124.1 kB / 0.6797 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002523/1.061, allocations: 1.955 MB / 0.6816 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.061, allocations: 0 / 0.6816 GB, free: 12.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003887/1.065, allocations: 1.389 MB / 0.683 GB, free: 11.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * 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 (398): * Single equations (assignments): 396 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01809/1.083, allocations: 10.7 MB / 0.6934 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.05118/1.134, allocations: 13.53 MB / 0.7066 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.134, allocations: 0 / 0.7066 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1727/1.307, allocations: 3.529 MB / 0.7101 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.311, allocations: 0.8479 MB / 0.7109 GB, free: 160.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0966/1.408, allocations: 56.59 MB / 0.7662 GB, free: 124.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/1.412, allocations: 5.084 MB / 0.7711 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004426/1.417, allocations: 1.614 MB / 0.7727 GB, free: 117.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003052/1.42, allocations: 2.655 MB / 0.7753 GB, free: 115.3 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/1.42, allocations: 0 / 0.7753 GB, free: 115.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3249/1.745, allocations: 111.5 MB / 0.8842 GB, free: 130.3 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.745, allocations: 286.5 kB / 0.8844 GB, free: 129.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/5.865, allocations: 0.9375 kB / 0.8844 GB, free: 129.9 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)