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.001233/0.001233, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 57.44 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1231, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2483/0.3715, allocations: 21.55 MB / 380.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3853, allocations: 6.788 MB / 387.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.3896, allocations: 148.8 kB / 387.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01485/0.4045, allocations: 6.826 MB / 394.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009865/0.4144, allocations: 2.752 MB / 397 MB, free: 424 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.4191, allocations: 1.572 MB / 398.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01524/0.4344, allocations: 9.073 MB / 407.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02928/0.4637, allocations: 17.8 MB / 425.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008057/0.4718, allocations: 4.637 MB / 430.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009213/0.4811, allocations: 5.171 MB / 435.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003887/0.485, allocations: 1.359 MB / 436.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.4911, allocations: 1.691 MB / 438.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004627/0.4957, allocations: 2.611 MB / 440.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.5065, allocations: 4.954 MB / 445.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02245/0.5289, allocations: 18.22 MB / 464.1 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.529, allocations: 0 / 464.1 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.529, allocations: 0 / 464.1 MB, free: 2.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005793/0.5296, allocations: 0 / 464.1 MB, free: 2.469 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.03752/0.5671, allocations: 10.57 MB / 474.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5672, allocations: 15.97 kB / 474.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03361/0.6008, allocations: 5.937 MB / 480.6 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.615, allocations: 5.71 MB / 486.3 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.6157, allocations: 0.5579 MB / 486.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004173/0.6198, allocations: 0.7342 MB / 487.6 MB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03859/0.6585, allocations: 12.86 MB / 0.4887 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003367/0.6588, allocations: 11.89 kB / 0.4887 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003476/0.6623, allocations: 308 kB / 0.489 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006768/0.663, allocations: 496.1 kB / 0.4895 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/0.6916, allocations: 12.58 MB / 0.5018 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4709/1.162, allocations: 41.41 MB / 0.5422 GB, free: 114.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/1.183, allocations: 26.23 MB / 0.5679 GB, free: 92.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00568/1.189, allocations: 3.224 MB / 0.571 GB, free: 92.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/1.189, allocations: 255.4 kB / 0.5712 GB, free: 92.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.189, allocations: 76.84 kB / 0.5713 GB, free: 92.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.713e-06/1.189, allocations: 0 / 0.5713 GB, free: 92.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03443/1.224, allocations: 16.98 MB / 0.5879 GB, free: 86.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.224, allocations: 97.11 kB / 0.588 GB, free: 86.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/1.228, allocations: 2.833 MB / 0.5908 GB, free: 85.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006807/1.228, allocations: 92.45 kB / 0.5909 GB, free: 85.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.23, allocations: 3.048 MB / 0.5938 GB, free: 83.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.231, allocations: 1.401 MB / 0.5952 GB, free: 81.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/1.233, allocations: 0.9361 MB / 0.5961 GB, free: 81.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/1.233, allocations: 309 kB / 0.5964 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.236, allocations: 2.503 MB / 0.5989 GB, free: 79.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/1.24, allocations: 4.111 MB / 0.6029 GB, free: 76.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007902/1.248, allocations: 7.189 MB / 0.6099 GB, free: 71.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.911e-05/1.248, allocations: 14.31 kB / 0.6099 GB, free: 71.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01366/1.262, allocations: 8.024 MB / 0.6177 GB, free: 63.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/1.262, allocations: 28 kB / 0.6178 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.262, allocations: 57.22 kB / 0.6178 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/1.266, allocations: 1.235 MB / 0.619 GB, free: 62.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/1.271, allocations: 1.127 MB / 0.6201 GB, free: 61.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.284, allocations: 11.23 MB / 0.6311 GB, free: 49.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.288, allocations: 283.5 kB / 0.6314 GB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/1.289, allocations: 228 kB / 0.6316 GB, free: 49.39 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.005214/1.294, allocations: 2.944 MB / 0.6345 GB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000961/1.295, allocations: 355.7 kB / 0.6348 GB, free: 46.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.305, allocations: 6.709 MB / 0.6413 GB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.305, allocations: 44 kB / 0.6414 GB, free: 39.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.305, allocations: 8 kB / 0.6414 GB, free: 39.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/1.305, allocations: 19.92 kB / 0.6414 GB, free: 39.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02737/1.332, allocations: 14.87 MB / 0.6559 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.332, allocations: 4 kB / 0.6559 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.335, allocations: 0.7489 MB / 0.6567 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/1.338, allocations: 1.13 MB / 0.6578 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005047/1.339, allocations: 91.97 kB / 0.6579 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.35, allocations: 10.15 MB / 0.6678 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/1.35, allocations: 11.94 kB / 0.6678 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.364, allocations: 10.01 MB / 0.6776 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/1.367, allocations: 0.9221 MB / 0.6785 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000925/1.368, allocations: 87.94 kB / 0.6786 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.37, allocations: 203.8 kB / 0.6787 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/1.371, allocations: 299.3 kB / 0.679 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/1.371, allocations: 120 kB / 0.6791 GB, free: 140 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003637/1.375, allocations: 1.955 MB / 0.6811 GB, free: 14.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.375, allocations: 0 / 0.6811 GB, free: 14.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007102/1.382, allocations: 1.391 MB / 0.6824 GB, free: 12.78 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.001069/1.383, allocations: 264.9 kB / 0.6827 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01332/1.396, allocations: 6.745 MB / 0.6893 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/1.396, allocations: 7.938 kB / 0.6893 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007454/1.404, allocations: 3.549 MB / 0.6927 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/1.409, allocations: 0.8397 MB / 0.6936 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/1.436, allocations: 14.04 MB / 0.7073 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2513/1.688, allocations: 5.075 MB / 0.7122 GB, free: 149.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006644/1.694, allocations: 1.615 MB / 0.7138 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.696, allocations: 316.3 kB / 0.7141 GB, free: 149.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.372e-06/1.696, allocations: 0 / 0.7141 GB, free: 149.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1045/1.8, allocations: 58.13 MB / 0.7709 GB, free: 116.7 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)