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.00181/0.001816, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002163, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 65.56 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09221, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1784/0.2706, allocations: 21.54 MB / 379.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.2831, allocations: 6.797 MB / 385.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003646/0.2867, allocations: 148.5 kB / 386 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01343/0.3002, allocations: 6.819 MB / 392.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.308, allocations: 2.752 MB / 395.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.3122, allocations: 1.572 MB / 397.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.3245, allocations: 9.001 MB / 406.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02377/0.3483, allocations: 17.93 MB / 424.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/0.3551, allocations: 4.625 MB / 428.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/0.3631, allocations: 5.21 MB / 434 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002445/0.3656, allocations: 1.359 MB / 435.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.3696, allocations: 1.699 MB / 437 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3722, allocations: 2.623 MB / 439.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00674/0.379, allocations: 4.954 MB / 444.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.4006, allocations: 18.14 MB / 462.7 MB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.4007, allocations: 4 kB / 462.7 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4007, allocations: 0 / 462.7 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006144/0.4013, allocations: 0 / 462.7 MB, free: 2.918 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.0342/0.4355, allocations: 10.62 MB / 473.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4356, allocations: 8.031 kB / 473.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03482/0.4704, allocations: 5.809 MB / 479.2 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.4825, allocations: 5.604 MB / 484.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005845/0.4831, allocations: 0.5579 MB / 485.3 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.486, allocations: 0.7381 MB / 486.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/0.521, allocations: 12.89 MB / 499 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003484/0.5214, allocations: 11.91 kB / 499 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/0.5238, allocations: 312 kB / 499.3 MB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005962/0.5245, allocations: 496.1 kB / 499.8 MB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02957/0.554, allocations: 12.61 MB / 0.5004 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2795/0.8336, allocations: 41.92 MB / 0.5413 GB, free: 114 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02187/0.8555, allocations: 26.26 MB / 0.5669 GB, free: 92.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005319/0.8609, allocations: 3.233 MB / 0.5701 GB, free: 92.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/0.8614, allocations: 272.2 kB / 0.5704 GB, free: 91.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.8614, allocations: 73.34 kB / 0.5704 GB, free: 91.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.851e-06/0.8615, allocations: 0 / 0.5704 GB, free: 91.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03387/0.8953, allocations: 17.04 MB / 0.5871 GB, free: 86.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.8954, allocations: 91.52 kB / 0.5872 GB, free: 86.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.8987, allocations: 2.839 MB / 0.5899 GB, free: 85.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003685/0.8991, allocations: 96.3 kB / 0.59 GB, free: 84.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.9002, allocations: 3.037 MB / 0.593 GB, free: 82.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007474/0.901, allocations: 1.4 MB / 0.5943 GB, free: 81.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.9021, allocations: 0.9509 MB / 0.5953 GB, free: 80.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.9021, allocations: 305.1 kB / 0.5956 GB, free: 80.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.905, allocations: 2.509 MB / 0.598 GB, free: 79.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.9085, allocations: 4.114 MB / 0.602 GB, free: 75.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/0.9157, allocations: 7.209 MB / 0.6091 GB, free: 70.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.9158, allocations: 18.36 kB / 0.6091 GB, free: 70.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01183/0.9276, allocations: 8.041 MB / 0.6169 GB, free: 63.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.9277, allocations: 28 kB / 0.617 GB, free: 63.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.38e-05/0.9278, allocations: 52 kB / 0.617 GB, free: 63.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/0.9308, allocations: 1.243 MB / 0.6182 GB, free: 62.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/0.9347, allocations: 1.135 MB / 0.6193 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.9471, allocations: 11.25 MB / 0.6303 GB, free: 49.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.9505, allocations: 267.6 kB / 0.6306 GB, free: 49.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/0.951, allocations: 236 kB / 0.6308 GB, free: 49.24 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.003619/0.9546, allocations: 2.952 MB / 0.6337 GB, free: 46.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006638/0.9553, allocations: 347.8 kB / 0.634 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009574/0.9649, allocations: 6.713 MB / 0.6406 GB, free: 39.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.9649, allocations: 40 kB / 0.6406 GB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.9649, allocations: 12 kB / 0.6406 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/0.965, allocations: 19.92 kB / 0.6406 GB, free: 39.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.9852, allocations: 15.23 MB / 0.6555 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.9852, allocations: 8.031 kB / 0.6555 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/0.988, allocations: 0.7567 MB / 0.6563 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.9908, allocations: 1.138 MB / 0.6574 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/0.9912, allocations: 95.97 kB / 0.6575 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.002, allocations: 10.17 MB / 0.6674 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.002, allocations: 7.938 kB / 0.6674 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.014, allocations: 10.03 MB / 0.6772 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.016, allocations: 0.926 MB / 0.6781 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/1.017, allocations: 91.94 kB / 0.6782 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.019, allocations: 203.7 kB / 0.6784 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/1.019, allocations: 295.3 kB / 0.6787 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/1.02, allocations: 132 kB / 0.6788 GB, free: 15.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003226/1.023, allocations: 1.955 MB / 0.6807 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.023, allocations: 0 / 0.6807 GB, free: 13.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00507/1.028, allocations: 1.397 MB / 0.6821 GB, free: 12.11 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.0007866/1.029, allocations: 272.5 kB / 0.6823 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03406/1.063, allocations: 13.58 MB / 0.6956 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.063, allocations: 4 kB / 0.6956 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007117/1.07, allocations: 3.564 MB / 0.6991 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.074, allocations: 0.8407 MB / 0.6999 GB, free: 9.891 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.186/1.26, allocations: 14.09 MB / 0.7137 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005826/1.266, allocations: 5.091 MB / 0.7186 GB, free: 148.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004722/1.271, allocations: 1.611 MB / 0.7202 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.272, allocations: 332.3 kB / 0.7205 GB, free: 148.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/1.272, allocations: 0.75 kB / 0.7205 GB, free: 148.5 MB / 478.1 MB Notification: Performance of Templates: time 0.09037/1.362, allocations: 61.65 MB / 0.7807 GB, free: 108.5 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 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)