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.00108/0.00108, allocations: 99.67 kB / 17.01 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001444, allocations: 193.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002309/0.000231, allocations: 4 kB / 306.8 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1207, allocations: 51.49 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2325/0.3533, allocations: 18.77 MB / 377.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.3726, allocations: 6.238 MB / 383.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007491/0.3801, allocations: 133.9 kB / 383.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008078/0.3882, allocations: 1.18 MB / 384.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.4014, allocations: 2.265 MB / 386.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005993/0.4074, allocations: 1.053 MB / 388 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02668/0.4341, allocations: 11.73 MB / 399.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02973/0.464, allocations: 14.18 MB / 413.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007808/0.4718, allocations: 3.485 MB / 417.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009934/0.4818, allocations: 3.849 MB / 421.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004426/0.4863, allocations: 0.5156 MB / 421.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006108/0.4924, allocations: 0.8434 MB / 422.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00398/0.4965, allocations: 1.608 MB / 424.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005041/0.5015, allocations: 1.662 MB / 425.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.5217, allocations: 15.46 MB / 441.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5218, allocations: 0 / 441.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5218, allocations: 0 / 441.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005159/0.5223, allocations: 0 / 441.3 MB, free: 9.609 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: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.02705/0.5494, allocations: 9.018 MB / 450.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5494, allocations: 8.031 kB / 450.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004348/0.5538, allocations: 1.086 MB / 451.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/0.5861, allocations: 5.921 MB / 457.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.5994, allocations: 5.531 MB / 462.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/0.6, allocations: 0.5619 MB / 463.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003533/0.6036, allocations: 0.742 MB / 464.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/0.6395, allocations: 12.8 MB / 477 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.6398, allocations: 15.91 kB / 477 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002291/0.6421, allocations: 311.9 kB / 477.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005309/0.6426, allocations: 492.1 kB / 477.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/0.672, allocations: 12.52 MB / 490.3 MB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07791/0.75, allocations: 41.95 MB / 0.5198 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2975/1.048, allocations: 26.19 MB / 0.5453 GB, free: 112.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00757/1.055, allocations: 3.224 MB / 0.5485 GB, free: 112.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000502/1.056, allocations: 243.9 kB / 0.5487 GB, free: 112.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/1.056, allocations: 80.3 kB / 0.5488 GB, free: 112 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.951e-06/1.056, allocations: 0 / 0.5488 GB, free: 112 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04792/1.104, allocations: 18.55 MB / 0.5669 GB, free: 106.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.104, allocations: 94.23 kB / 0.567 GB, free: 106.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/1.109, allocations: 2.814 MB / 0.5697 GB, free: 105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008346/1.11, allocations: 89.61 kB / 0.5698 GB, free: 104.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.112, allocations: 3.041 MB / 0.5728 GB, free: 102.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.114, allocations: 1.405 MB / 0.5742 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/1.114, allocations: 104.6 kB / 0.5743 GB, free: 101.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002903/1.114, allocations: 0.5078 MB / 0.5748 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.118, allocations: 2.486 MB / 0.5772 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/1.122, allocations: 4.09 MB / 0.5812 GB, free: 97.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/1.127, allocations: 3.401 MB / 0.5845 GB, free: 95.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/1.127, allocations: 15.53 kB / 0.5845 GB, free: 95.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01389/1.141, allocations: 7.967 MB / 0.5923 GB, free: 91.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/1.141, allocations: 30 kB / 0.5923 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.141, allocations: 48.31 kB / 0.5924 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/1.144, allocations: 1.193 MB / 0.5935 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.149, allocations: 1.131 MB / 0.5947 GB, free: 90.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.161, allocations: 10.33 MB / 0.6047 GB, free: 79.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.166, allocations: 271.6 kB / 0.605 GB, free: 79.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009748/1.167, allocations: 232 kB / 0.6052 GB, free: 79 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006146/1.173, allocations: 2.952 MB / 0.6081 GB, free: 76.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.174, allocations: 347.8 kB / 0.6084 GB, free: 75.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.186, allocations: 6.683 MB / 0.615 GB, free: 68.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.186, allocations: 40 kB / 0.615 GB, free: 68.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.186, allocations: 16.83 kB / 0.615 GB, free: 68.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/1.186, allocations: 19.92 kB / 0.615 GB, free: 68.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/1.211, allocations: 15.14 MB / 0.6298 GB, free: 53.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.211, allocations: 4 kB / 0.6298 GB, free: 53.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.214, allocations: 0.7568 MB / 0.6306 GB, free: 52.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.217, allocations: 1.092 MB / 0.6316 GB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004734/1.218, allocations: 95.98 kB / 0.6317 GB, free: 51.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.228, allocations: 9.271 MB / 0.6408 GB, free: 42.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.228, allocations: 4 kB / 0.6408 GB, free: 42.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.243, allocations: 9.954 MB / 0.6505 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.245, allocations: 0.926 MB / 0.6514 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006798/1.246, allocations: 83.61 kB / 0.6515 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.248, allocations: 215.8 kB / 0.6517 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/1.248, allocations: 295.3 kB / 0.652 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.249, allocations: 124 kB / 0.6521 GB, free: 30.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00279/1.251, allocations: 1.932 MB / 0.654 GB, free: 28.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.251, allocations: 3.938 kB / 0.654 GB, free: 28.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006544/1.258, allocations: 1.394 MB / 0.6553 GB, free: 27.08 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.273, allocations: 10.66 MB / 0.6657 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/1.284, allocations: 6.699 MB / 0.6723 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.284, allocations: 0 / 0.6723 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.29, allocations: 3.533 MB / 0.6757 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/1.294, allocations: 0.795 MB / 0.6765 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3707/1.665, allocations: 39.54 MB / 0.7151 GB, free: 152.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007463/1.673, allocations: 5.081 MB / 0.7201 GB, free: 151.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005719/1.678, allocations: 1.612 MB / 0.7217 GB, free: 151.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004449/1.683, allocations: 2.664 MB / 0.7243 GB, free: 150.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.432e-06/1.683, allocations: 2.844 kB / 0.7243 GB, free: 150.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2054/1.888, allocations: 106.5 MB / 0.8282 GB, free: 63.54 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/1.889, allocations: 266.7 kB / 0.8285 GB, free: 63.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/6.054, allocations: 0 / 0.8285 GB, free: 63.18 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/linux/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)