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.001179/0.001179, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001284, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3314, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02374/0.3552, allocations: 21.55 MB / 430.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3728, allocations: 6.781 MB / 437.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0051/0.3779, allocations: 147.6 kB / 437.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0151/0.393, allocations: 6.822 MB / 444.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008199/0.4012, allocations: 2.751 MB / 446.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.4054, allocations: 1.577 MB / 448.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.4166, allocations: 9.073 MB / 457.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02596/0.4425, allocations: 17.79 MB / 475.3 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007364/0.45, allocations: 4.648 MB / 479.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008558/0.4585, allocations: 5.171 MB / 485.1 MB, free: 4.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003284/0.4619, allocations: 1.359 MB / 486.5 MB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005922/0.4678, allocations: 1.687 MB / 488.1 MB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004395/0.4722, allocations: 2.611 MB / 490.8 MB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008541/0.4808, allocations: 4.966 MB / 495.7 MB, free: 10.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02076/0.5016, allocations: 18.22 MB / 0.5019 GB, free: 7.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5016, allocations: 4 kB / 0.5019 GB, free: 7.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5016, allocations: 0 / 0.5019 GB, free: 7.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005431/0.5022, allocations: 0 / 0.5019 GB, free: 7.957 MB / 430.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.03626/0.5385, allocations: 10.56 MB / 0.5122 GB, free: 13.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.5385, allocations: 8.031 kB / 0.5122 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004378/0.5429, allocations: 1.086 MB / 0.5133 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03438/0.5773, allocations: 5.949 MB / 0.5191 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.5919, allocations: 5.713 MB / 0.5247 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006909/0.5926, allocations: 0.5579 MB / 0.5252 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/0.5969, allocations: 0.7264 MB / 0.5259 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03855/0.6355, allocations: 12.86 MB / 0.5385 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/0.636, allocations: 19.8 kB / 0.5385 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/0.6395, allocations: 308 kB / 0.5388 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006767/0.6402, allocations: 496.1 kB / 0.5393 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3381/0.9784, allocations: 12.58 MB / 0.5515 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07649/1.055, allocations: 41.42 MB / 0.592 GB, free: 73.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/1.073, allocations: 26.25 MB / 0.6176 GB, free: 44.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/1.079, allocations: 3.219 MB / 0.6208 GB, free: 41.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/1.079, allocations: 248.6 kB / 0.621 GB, free: 40.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/1.08, allocations: 73.78 kB / 0.6211 GB, free: 40.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 9.017e-06/1.08, allocations: 0 / 0.6211 GB, free: 40.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.04332/1.123, allocations: 16.99 MB / 0.6377 GB, free: 23.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.123, allocations: 106.5 kB / 0.6378 GB, free: 23.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/1.129, allocations: 2.847 MB / 0.6405 GB, free: 20.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006719/1.129, allocations: 89.7 kB / 0.6406 GB, free: 20.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.131, allocations: 3.035 MB / 0.6436 GB, free: 17.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.133, allocations: 1.395 MB / 0.645 GB, free: 16.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002281/1.135, allocations: 0.9423 MB / 0.6459 GB, free: 15.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/1.135, allocations: 308.8 kB / 0.6462 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/1.138, allocations: 2.505 MB / 0.6486 GB, free: 12.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/1.142, allocations: 4.113 MB / 0.6526 GB, free: 7.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/1.149, allocations: 7.187 MB / 0.6597 GB, free: 15.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.873e-05/1.149, allocations: 16 kB / 0.6597 GB, free: 15.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01497/1.164, allocations: 8.024 MB / 0.6675 GB, free: 7.652 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/1.164, allocations: 31.94 kB / 0.6675 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.862e-05/1.164, allocations: 52 kB / 0.6676 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.168, allocations: 1.224 MB / 0.6688 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.172, allocations: 1.139 MB / 0.6699 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.19, allocations: 11.23 MB / 0.6809 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.194, allocations: 263.6 kB / 0.6811 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.195, allocations: 228 kB / 0.6813 GB, free: 9.215 MB / 494.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.007831/1.203, allocations: 2.963 MB / 0.6842 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.205, allocations: 351.7 kB / 0.6846 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.221, allocations: 6.695 MB / 0.6911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/1.222, allocations: 44 kB / 0.6911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/1.222, allocations: 11.98 kB / 0.6911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-05/1.222, allocations: 23.92 kB / 0.6912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03329/1.255, allocations: 14.87 MB / 0.7057 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.255, allocations: 8 kB / 0.7057 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/1.258, allocations: 0.7535 MB / 0.7064 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003517/1.262, allocations: 1.122 MB / 0.7075 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006248/1.263, allocations: 91.97 kB / 0.7076 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.278, allocations: 10.16 MB / 0.7175 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.278, allocations: 8 kB / 0.7175 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/1.298, allocations: 10.02 MB / 0.7273 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/1.301, allocations: 0.9221 MB / 0.7282 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.303, allocations: 87.92 kB / 0.7283 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.306, allocations: 199.8 kB / 0.7285 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.307, allocations: 303.2 kB / 0.7288 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005266/1.307, allocations: 124 kB / 0.7289 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004906/1.312, allocations: 1.955 MB / 0.7308 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.312, allocations: 4 kB / 0.7308 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007292/1.32, allocations: 1.389 MB / 0.7322 GB, free: 4.578 MB / 0.5294 GB 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.01852/1.338, allocations: 10.73 MB / 0.7427 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.352, allocations: 6.742 MB / 0.7492 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.352, allocations: 4.062 kB / 0.7492 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.3059/1.658, allocations: 3.538 MB / 0.7527 GB, free: 200.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/1.663, allocations: 0.8452 MB / 0.7535 GB, free: 200.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06792/1.731, allocations: 47.01 MB / 0.7994 GB, free: 169.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/1.738, allocations: 5.081 MB / 0.8044 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003934/1.742, allocations: 1.61 MB / 0.806 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003212/1.745, allocations: 2.667 MB / 0.8086 GB, free: 159.9 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.745, allocations: 3.938 kB / 0.8086 GB, free: 159.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.19/1.935, allocations: 111.1 MB / 0.917 GB, free: 49.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/20.47, allocations: 19.16 kB / 0.917 GB, free: 49.43 MB / 0.545 GB (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)