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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, 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.001622/0.001623, 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.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2682, allocations: 50.54 MB / 409.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02183/0.2901, allocations: 21.55 MB / 430.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3038, allocations: 6.784 MB / 437.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/0.3079, allocations: 143.6 kB / 437.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01583/0.3238, allocations: 6.825 MB / 444.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009303/0.3331, allocations: 2.747 MB / 447.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.3379, allocations: 1.575 MB / 448.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01322/0.3511, allocations: 9.077 MB / 458 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02594/0.3771, allocations: 17.79 MB / 475.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006748/0.3839, allocations: 4.66 MB / 480.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.3919, allocations: 5.159 MB / 485.6 MB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00329/0.3952, allocations: 1.355 MB / 486.9 MB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005007/0.4002, allocations: 1.699 MB / 488.6 MB, free: 2.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003347/0.4036, allocations: 2.615 MB / 491.3 MB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009251/0.4129, allocations: 4.954 MB / 496.2 MB, free: 10.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.4336, allocations: 18.22 MB / 0.5024 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4336, allocations: 0 / 0.5024 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4336, allocations: 0 / 0.5024 GB, free: 8.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004517/0.4341, allocations: 0 / 0.5024 GB, free: 8.145 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.0336/0.4677, allocations: 10.56 MB / 0.5127 GB, free: 13.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4678, allocations: 12.03 kB / 0.5127 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03451/0.5023, allocations: 5.949 MB / 0.5185 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.5142, allocations: 5.713 MB / 0.5241 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005434/0.5148, allocations: 0.5579 MB / 0.5246 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/0.518, allocations: 0.7303 MB / 0.5253 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/0.5497, allocations: 12.85 MB / 0.5379 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.55, allocations: 19.8 kB / 0.5379 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002592/0.5526, allocations: 312 kB / 0.5382 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005396/0.5531, allocations: 496.1 kB / 0.5387 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4051/0.9583, allocations: 12.58 MB / 0.551 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05025/1.009, allocations: 41.42 MB / 0.5914 GB, free: 75.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.023, allocations: 26.25 MB / 0.617 GB, free: 45.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/1.028, allocations: 3.211 MB / 0.6202 GB, free: 42.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/1.028, allocations: 244.9 kB / 0.6204 GB, free: 42.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.028, allocations: 81.66 kB / 0.6205 GB, free: 42.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.48e-06/1.028, allocations: 3.938 kB / 0.6205 GB, free: 42.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03306/1.061, allocations: 16.99 MB / 0.6371 GB, free: 25.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.061, allocations: 98.61 kB / 0.6372 GB, free: 25.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/1.065, allocations: 2.832 MB / 0.64 GB, free: 22.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.065, allocations: 93.7 kB / 0.64 GB, free: 22.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.067, allocations: 3.039 MB / 0.643 GB, free: 19.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/1.068, allocations: 1.4 MB / 0.6444 GB, free: 17.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/1.069, allocations: 0.9462 MB / 0.6453 GB, free: 16.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/1.069, allocations: 304.8 kB / 0.6456 GB, free: 16.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.072, allocations: 2.505 MB / 0.648 GB, free: 13.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/1.075, allocations: 4.105 MB / 0.652 GB, free: 9.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/1.082, allocations: 7.191 MB / 0.6591 GB, free: 1.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/1.082, allocations: 16 kB / 0.6591 GB, free: 1.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01297/1.095, allocations: 8.02 MB / 0.6669 GB, free: 9.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.095, allocations: 27.94 kB / 0.6669 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/1.096, allocations: 52 kB / 0.667 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/1.099, allocations: 1.24 MB / 0.6682 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/1.103, allocations: 1.127 MB / 0.6693 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.118, allocations: 11.23 MB / 0.6803 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.122, allocations: 275.6 kB / 0.6805 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004642/1.122, allocations: 232 kB / 0.6808 GB, free: 10.65 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.004582/1.127, allocations: 2.959 MB / 0.6836 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008094/1.128, allocations: 347.8 kB / 0.684 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.139, allocations: 6.698 MB / 0.6905 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/1.139, allocations: 43.98 kB / 0.6906 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.14, allocations: 12 kB / 0.6906 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/1.14, allocations: 19.92 kB / 0.6906 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.163, allocations: 14.87 MB / 0.7051 GB, free: 1.59 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.163, allocations: 12 kB / 0.7051 GB, free: 1.578 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.166, allocations: 0.7489 MB / 0.7059 GB, free: 0.8281 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/1.17, allocations: 1.122 MB / 0.707 GB, free: 15.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004039/1.17, allocations: 104 kB / 0.7071 GB, free: 15.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.184, allocations: 10.15 MB / 0.717 GB, free: 5.176 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.184, allocations: 11.88 kB / 0.717 GB, free: 5.164 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.2, allocations: 10.01 MB / 0.7267 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.203, allocations: 0.9221 MB / 0.7276 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/1.203, allocations: 79.94 kB / 0.7277 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.205, allocations: 207.8 kB / 0.7279 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006793/1.206, allocations: 307.2 kB / 0.7282 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.206, allocations: 120 kB / 0.7283 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002956/1.209, allocations: 1.955 MB / 0.7302 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.209, allocations: 4 kB / 0.7302 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005731/1.215, allocations: 1.389 MB / 0.7316 GB, free: 6.031 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.001116/1.216, allocations: 277.9 kB / 0.7319 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.228, allocations: 6.742 MB / 0.7384 GB, free: 15 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.228, allocations: 0 / 0.7384 GB, free: 15 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006752/1.235, allocations: 3.544 MB / 0.7419 GB, free: 11.43 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/1.239, allocations: 0.831 MB / 0.7427 GB, free: 10.62 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.249/1.488, allocations: 14.03 MB / 0.7564 GB, free: 190.8 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004946/1.493, allocations: 5.083 MB / 0.7614 GB, free: 189.9 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.004179/1.498, allocations: 1.622 MB / 0.763 GB, free: 189.9 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/1.499, allocations: 318.3 kB / 0.7633 GB, free: 189.9 MB / 0.5451 GB Notification: Performance of SimCode: time 1.313e-06/1.499, allocations: 0 / 0.7633 GB, free: 189.9 MB / 0.5451 GB Notification: Performance of Templates: time 0.08485/1.583, allocations: 60.17 MB / 0.822 GB, free: 144.5 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)