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.001533/0.001533, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 202 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.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 60.08 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0231/0.3595, allocations: 21.55 MB / 430.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.374, allocations: 6.781 MB / 437.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.3779, allocations: 147.6 kB / 437.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01523/0.3931, allocations: 6.869 MB / 444.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.4033, allocations: 2.798 MB / 446.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.4082, allocations: 1.578 MB / 448.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.4201, allocations: 9.054 MB / 457.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02497/0.4451, allocations: 17.81 MB / 475.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006625/0.4518, allocations: 4.648 MB / 480 MB, free: 9.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007481/0.4593, allocations: 5.167 MB / 485.2 MB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.4624, allocations: 1.355 MB / 486.5 MB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/0.4671, allocations: 1.691 MB / 488.2 MB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003756/0.4709, allocations: 2.607 MB / 490.8 MB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0087/0.4796, allocations: 4.966 MB / 495.8 MB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.5001, allocations: 18.22 MB / 0.502 GB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5002, allocations: 0 / 0.502 GB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5002, allocations: 0 / 0.502 GB, free: 7.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004655/0.5007, allocations: 0 / 0.502 GB, free: 7.84 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.03142/0.5321, allocations: 10.56 MB / 0.5123 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5322, allocations: 12.03 kB / 0.5123 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004211/0.5364, allocations: 1.09 MB / 0.5134 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03289/0.5693, allocations: 5.941 MB / 0.5192 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5816, allocations: 5.713 MB / 0.5248 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/0.5823, allocations: 0.5579 MB / 0.5253 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/0.5855, allocations: 0.7341 MB / 0.526 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/0.618, allocations: 12.86 MB / 0.5386 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004312/0.6185, allocations: 11.81 kB / 0.5386 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002828/0.6213, allocations: 312 kB / 0.5389 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005612/0.6219, allocations: 0.4922 MB / 0.5394 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2711/0.893, allocations: 12.58 MB / 0.5516 GB, free: 111.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0546/0.9477, allocations: 41.42 MB / 0.5921 GB, free: 75.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.9613, allocations: 26.25 MB / 0.6177 GB, free: 45.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004228/0.9656, allocations: 3.214 MB / 0.6209 GB, free: 42.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.966, allocations: 248.2 kB / 0.6211 GB, free: 42.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.9661, allocations: 81.59 kB / 0.6212 GB, free: 42.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 6.492e-06/0.9661, allocations: 0 / 0.6212 GB, free: 42.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03126/0.9973, allocations: 16.98 MB / 0.6378 GB, free: 25.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.9974, allocations: 94.67 kB / 0.6379 GB, free: 25.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/1.001, allocations: 2.836 MB / 0.6406 GB, free: 22.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005684/1.002, allocations: 93.7 kB / 0.6407 GB, free: 22.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.003, allocations: 3.038 MB / 0.6437 GB, free: 19.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009596/1.004, allocations: 1.4 MB / 0.645 GB, free: 17.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.005, allocations: 0.9384 MB / 0.646 GB, free: 16.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/1.005, allocations: 308.8 kB / 0.6463 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/1.008, allocations: 2.508 MB / 0.6487 GB, free: 14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/1.013, allocations: 4.109 MB / 0.6527 GB, free: 9.168 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008013/1.021, allocations: 7.187 MB / 0.6597 GB, free: 1.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/1.021, allocations: 16 kB / 0.6598 GB, free: 1.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01362/1.034, allocations: 8.024 MB / 0.6676 GB, free: 9.191 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/1.035, allocations: 33.97 kB / 0.6676 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.747e-05/1.035, allocations: 48 kB / 0.6677 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/1.038, allocations: 1.236 MB / 0.6689 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/1.042, allocations: 1.127 MB / 0.67 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.057, allocations: 11.24 MB / 0.681 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.061, allocations: 271.7 kB / 0.6812 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008107/1.062, allocations: 232 kB / 0.6814 GB, free: 10.74 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.005058/1.067, allocations: 2.948 MB / 0.6843 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000911/1.068, allocations: 351.7 kB / 0.6846 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.079, allocations: 6.706 MB / 0.6912 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/1.079, allocations: 44 kB / 0.6912 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.079, allocations: 12 kB / 0.6912 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/1.079, allocations: 19.92 kB / 0.6913 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.105, allocations: 14.87 MB / 0.7058 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.105, allocations: 11.94 kB / 0.7058 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/1.108, allocations: 0.7489 MB / 0.7065 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/1.111, allocations: 1.126 MB / 0.7076 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005964/1.112, allocations: 95.97 kB / 0.7077 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.125, allocations: 10.15 MB / 0.7176 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/1.125, allocations: 8 kB / 0.7176 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/1.142, allocations: 10.01 MB / 0.7274 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.145, allocations: 0.9182 MB / 0.7283 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.146, allocations: 84 kB / 0.7284 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/1.149, allocations: 199.8 kB / 0.7286 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000989/1.15, allocations: 299.2 kB / 0.7289 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005666/1.151, allocations: 128 kB / 0.729 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003179/1.154, allocations: 1.959 MB / 0.7309 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.844e-06/1.154, allocations: 0 / 0.7309 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005771/1.16, allocations: 1.394 MB / 0.7323 GB, free: 6.117 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.2497/1.409, allocations: 10.72 MB / 0.7427 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009418/1.419, allocations: 6.75 MB / 0.7493 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.419, allocations: 3.906 kB / 0.7493 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.424, allocations: 3.546 MB / 0.7528 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/1.428, allocations: 0.8434 MB / 0.7536 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06863/1.496, allocations: 47 MB / 0.7995 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/1.501, allocations: 5.086 MB / 0.8045 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003758/1.505, allocations: 1.61 MB / 0.8061 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003086/1.508, allocations: 2.663 MB / 0.8087 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/1.508, allocations: 0 / 0.8087 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/1.651, allocations: 110.4 MB / 0.9165 GB, free: 17.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.54, allocations: 8.562 kB / 0.9165 GB, free: 17.52 MB / 0.5294 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)