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.001146/0.001146, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009952/0.0009952, allocations: 55.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2427, allocations: 50.54 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02/0.2627, allocations: 21.56 MB / 430.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.2739, allocations: 6.781 MB / 437.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.2764, allocations: 147.6 kB / 437.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01437/0.2908, allocations: 6.82 MB / 444.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008527/0.2994, allocations: 2.751 MB / 447.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.3032, allocations: 1.581 MB / 448.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009582/0.3127, allocations: 9.065 MB / 458 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01883/0.3316, allocations: 17.8 MB / 475.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.3374, allocations: 4.637 MB / 480.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007297/0.3448, allocations: 5.167 MB / 485.6 MB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003198/0.348, allocations: 1.359 MB / 486.9 MB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.3526, allocations: 1.687 MB / 488.6 MB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002266/0.3548, allocations: 2.607 MB / 491.2 MB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006266/0.3611, allocations: 4.962 MB / 496.2 MB, free: 10.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.3786, allocations: 18.26 MB / 0.5024 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.3787, allocations: 4 kB / 0.5024 GB, free: 7.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3787, allocations: 0 / 0.5024 GB, free: 7.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004515/0.3791, allocations: 0 / 0.5024 GB, free: 7.961 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.02784/0.407, allocations: 10.75 MB / 0.5129 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.407, allocations: 11.97 kB / 0.5129 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03255/0.4396, allocations: 5.977 MB / 0.5187 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.4503, allocations: 5.731 MB / 0.5243 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.4508, allocations: 0.5462 MB / 0.5249 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002466/0.4533, allocations: 0.742 MB / 0.5256 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02951/0.4828, allocations: 12.85 MB / 0.5381 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003768/0.4833, allocations: 11.95 kB / 0.5382 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003076/0.4863, allocations: 308 kB / 0.5384 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005382/0.4869, allocations: 0.4922 MB / 0.5389 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2158/0.7027, allocations: 12.59 MB / 0.5512 GB, free: 109.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/0.7482, allocations: 41.52 MB / 0.5918 GB, free: 74.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.7612, allocations: 26.25 MB / 0.6174 GB, free: 45.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/0.7649, allocations: 3.218 MB / 0.6205 GB, free: 41.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.7652, allocations: 244.6 kB / 0.6208 GB, free: 41.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.7652, allocations: 77.78 kB / 0.6209 GB, free: 41.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.401e-06/0.7653, allocations: 0 / 0.6209 GB, free: 41.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03105/0.7963, allocations: 17.09 MB / 0.6375 GB, free: 24.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.7964, allocations: 94.67 kB / 0.6376 GB, free: 24.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.7995, allocations: 2.837 MB / 0.6404 GB, free: 21.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.7997, allocations: 93.7 kB / 0.6405 GB, free: 21.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.8009, allocations: 3.144 MB / 0.6436 GB, free: 18.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.8016, allocations: 1.47 MB / 0.645 GB, free: 17.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.8027, allocations: 0.9427 MB / 0.6459 GB, free: 16.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.8028, allocations: 304.8 kB / 0.6462 GB, free: 16.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.8056, allocations: 2.505 MB / 0.6487 GB, free: 13.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.809, allocations: 4.113 MB / 0.6527 GB, free: 8.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006888/0.8159, allocations: 7.183 MB / 0.6597 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.8159, allocations: 16 kB / 0.6597 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01243/0.8284, allocations: 8.041 MB / 0.6676 GB, free: 8.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.8284, allocations: 32.75 kB / 0.6676 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-05/0.8285, allocations: 52 kB / 0.6676 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/0.8318, allocations: 1.235 MB / 0.6688 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/0.8356, allocations: 1.127 MB / 0.6699 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/0.8512, allocations: 11.24 MB / 0.6809 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.8559, allocations: 271.9 kB / 0.6812 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006838/0.8566, allocations: 232 kB / 0.6814 GB, free: 10.26 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.006648/0.8632, allocations: 2.956 MB / 0.6843 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.8643, allocations: 369.6 kB / 0.6846 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.8761, allocations: 6.706 MB / 0.6912 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.8761, allocations: 40 kB / 0.6912 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.8762, allocations: 12 kB / 0.6912 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-05/0.8762, allocations: 27.86 kB / 0.6913 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/0.8995, allocations: 14.87 MB / 0.7058 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.8996, allocations: 7.938 kB / 0.7058 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.9024, allocations: 0.7567 MB / 0.7065 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/0.9055, allocations: 1.122 MB / 0.7076 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/0.9057, allocations: 103.9 kB / 0.7077 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.9189, allocations: 10.16 MB / 0.7177 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.9189, allocations: 7.938 kB / 0.7177 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.9344, allocations: 10.03 MB / 0.7275 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.9364, allocations: 0.9359 MB / 0.7284 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/0.9368, allocations: 87.95 kB / 0.7285 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.9386, allocations: 203.8 kB / 0.7286 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/0.9393, allocations: 299.2 kB / 0.7289 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/0.9395, allocations: 124 kB / 0.7291 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002752/0.9423, allocations: 1.951 MB / 0.731 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9423, allocations: 0 / 0.731 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004107/0.9464, allocations: 1.394 MB / 0.7323 GB, free: 5.559 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.000508/0.9469, allocations: 274.2 kB / 0.7326 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.957, allocations: 6.746 MB / 0.7392 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.957, allocations: 0 / 0.7392 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005389/0.9624, allocations: 3.545 MB / 0.7426 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.9659, allocations: 0.8394 MB / 0.7435 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/1.234, allocations: 14.23 MB / 0.7574 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007701/1.242, allocations: 5.081 MB / 0.7623 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004477/1.246, allocations: 1.619 MB / 0.7639 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/1.247, allocations: 310.4 kB / 0.7642 GB, free: 188.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.432e-06/1.247, allocations: 0 / 0.7642 GB, free: 188.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07985/1.327, allocations: 60.19 MB / 0.823 GB, free: 143.3 MB / 0.545 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)