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.001114/0.001114, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.84 kB / 306.3 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08672, allocations: 50.54 MB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1718/0.2586, allocations: 21.19 MB / 378 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.272, allocations: 6.752 MB / 384.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004164/0.2762, allocations: 141.5 kB / 384.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.2897, allocations: 6.463 MB / 391.4 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.2977, allocations: 2.537 MB / 393.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.3017, allocations: 1.467 MB / 395.4 MB, free: 456 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.3129, allocations: 9.136 MB / 404.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0233/0.3362, allocations: 15 MB / 419.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006301/0.3426, allocations: 3.972 MB / 423.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007101/0.3497, allocations: 4.851 MB / 428.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002579/0.3523, allocations: 0.8476 MB / 429.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/0.3566, allocations: 1.187 MB / 430.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.3596, allocations: 2.099 MB / 432.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007531/0.3672, allocations: 4.423 MB / 436.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.3842, allocations: 17.8 MB / 454.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3843, allocations: 0 / 454.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3843, allocations: 0 / 454.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004031/0.3847, allocations: 4 kB / 454.7 MB, free: 10.69 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.02997/0.4147, allocations: 10.62 MB / 465.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4147, allocations: 12.03 kB / 465.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/0.4478, allocations: 5.89 MB / 471.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.4593, allocations: 5.577 MB / 476.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005611/0.4599, allocations: 0.558 MB / 477.4 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/0.4627, allocations: 0.7459 MB / 478.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/0.4927, allocations: 12.84 MB / 490.9 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/0.4929, allocations: 15.75 kB / 491 MB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/0.4947, allocations: 323.9 kB / 491.3 MB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.4951, allocations: 492.2 kB / 491.8 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/0.5202, allocations: 12.56 MB / 0.4925 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.264/0.7842, allocations: 41.84 MB / 0.5334 GB, free: 117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/0.8019, allocations: 26.22 MB / 0.559 GB, free: 95.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004864/0.8068, allocations: 3.219 MB / 0.5621 GB, free: 95.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/0.8073, allocations: 246.4 kB / 0.5624 GB, free: 95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.8073, allocations: 75 kB / 0.5624 GB, free: 94.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.943e-06/0.8073, allocations: 0 / 0.5624 GB, free: 94.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03293/0.8403, allocations: 16.82 MB / 0.5788 GB, free: 92.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.8404, allocations: 93.8 kB / 0.5789 GB, free: 92.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.8441, allocations: 2.831 MB / 0.5817 GB, free: 90.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.8444, allocations: 93.17 kB / 0.5818 GB, free: 90.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.8457, allocations: 3.042 MB / 0.5848 GB, free: 88.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008179/0.8465, allocations: 1.39 MB / 0.5861 GB, free: 87.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.8478, allocations: 0.9496 MB / 0.587 GB, free: 87.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.8478, allocations: 301.1 kB / 0.5873 GB, free: 86.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.851, allocations: 2.499 MB / 0.5898 GB, free: 85.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.8551, allocations: 4.105 MB / 0.5938 GB, free: 82.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/0.8625, allocations: 7.177 MB / 0.6008 GB, free: 78.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-05/0.8626, allocations: 14.25 kB / 0.6008 GB, free: 78.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0117/0.8743, allocations: 7.987 MB / 0.6086 GB, free: 72.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.8744, allocations: 29.42 kB / 0.6086 GB, free: 72.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.711e-05/0.8745, allocations: 48 kB / 0.6087 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.8775, allocations: 1.204 MB / 0.6099 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/0.8815, allocations: 1.135 MB / 0.611 GB, free: 69.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.8936, allocations: 10.34 MB / 0.6211 GB, free: 59.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.897, allocations: 270.6 kB / 0.6213 GB, free: 58.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/0.8978, allocations: 236 kB / 0.6215 GB, free: 58.66 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.004585/0.9024, allocations: 2.948 MB / 0.6244 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009812/0.9034, allocations: 347.8 kB / 0.6248 GB, free: 55.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.9141, allocations: 6.67 MB / 0.6313 GB, free: 48.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.9141, allocations: 51.94 kB / 0.6313 GB, free: 48.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.9142, allocations: 8 kB / 0.6313 GB, free: 48.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.9142, allocations: 23.91 kB / 0.6313 GB, free: 48.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/0.9379, allocations: 15.15 MB / 0.6461 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.938, allocations: 8 kB / 0.6461 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/0.9407, allocations: 0.7496 MB / 0.6469 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.9436, allocations: 1.095 MB / 0.6479 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/0.9439, allocations: 91.98 kB / 0.648 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.9551, allocations: 9.28 MB / 0.6571 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.9551, allocations: 11.94 kB / 0.6571 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.969, allocations: 9.961 MB / 0.6668 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/0.971, allocations: 0.9182 MB / 0.6677 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009035/0.9719, allocations: 83.98 kB / 0.6678 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.9741, allocations: 203.8 kB / 0.668 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006768/0.9748, allocations: 295.3 kB / 0.6683 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/0.9751, allocations: 128 kB / 0.6684 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003195/0.9783, allocations: 1.957 MB / 0.6703 GB, free: 8.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9783, allocations: 0 / 0.6703 GB, free: 8.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004995/0.9833, allocations: 1.394 MB / 0.6717 GB, free: 6.695 MB / 446.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.0006902/0.984, allocations: 275.8 kB / 0.6719 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009795/0.9938, allocations: 6.697 MB / 0.6785 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9938, allocations: 0.5 kB / 0.6785 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005989/0.9998, allocations: 3.532 MB / 0.6819 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.004, allocations: 0.7896 MB / 0.6827 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/1.033, allocations: 17.37 MB / 0.6997 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007219/1.04, allocations: 5.091 MB / 0.7046 GB, free: 4.758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005565/1.046, allocations: 1.61 MB / 0.7062 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.047, allocations: 311.4 kB / 0.7065 GB, free: 2.836 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/1.047, allocations: 0 / 0.7065 GB, free: 2.836 MB / 478.1 MB Notification: Performance of Templates: time 0.294/1.341, allocations: 60.23 MB / 0.7653 GB, free: 119.2 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)