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.001377/0.001377, allocations: 107.4 kB / 17.98 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 217.8 kB / 18.93 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 54.47 kB / 307.2 MB, free: 0.8906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 50.54 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2702/0.3891, allocations: 21.2 MB / 378.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.4037, allocations: 6.701 MB / 385.6 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00606/0.4098, allocations: 142.8 kB / 385.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01562/0.4255, allocations: 6.464 MB / 392.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.4355, allocations: 2.5 MB / 394.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.4404, allocations: 1.482 MB / 396.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.4555, allocations: 9.078 MB / 405.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03376/0.4893, allocations: 20.32 MB / 425.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00949/0.4988, allocations: 4.668 MB / 430.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.5093, allocations: 5.198 MB / 435.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004576/0.5139, allocations: 1.359 MB / 436.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/0.5206, allocations: 1.703 MB / 438.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005676/0.5263, allocations: 2.619 MB / 441.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.5373, allocations: 4.962 MB / 446.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.5577, allocations: 15.99 MB / 462.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5577, allocations: 0 / 462.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5577, allocations: 0 / 462.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004879/0.5582, allocations: 0 / 462.1 MB, free: 4.172 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.03638/0.5946, allocations: 10.63 MB / 472.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5947, allocations: 8.031 kB / 472.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03546/0.6302, allocations: 5.813 MB / 478.5 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.6455, allocations: 5.589 MB / 484.1 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008193/0.6464, allocations: 0.5619 MB / 484.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004174/0.6506, allocations: 0.7381 MB / 485.4 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0405/0.6911, allocations: 12.89 MB / 498.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004325/0.6916, allocations: 7.906 kB / 498.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/0.6951, allocations: 319.9 kB / 498.6 MB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007031/0.6958, allocations: 492.1 kB / 499.1 MB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03104/0.7269, allocations: 12.6 MB / 0.4997 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4958/1.223, allocations: 41.87 MB / 0.5406 GB, free: 114.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.245, allocations: 26.24 MB / 0.5662 GB, free: 92.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006582/1.252, allocations: 3.228 MB / 0.5694 GB, free: 92.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/1.252, allocations: 270.7 kB / 0.5696 GB, free: 92.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.252, allocations: 74 kB / 0.5697 GB, free: 92.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.18e-06/1.252, allocations: 0 / 0.5697 GB, free: 92.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03628/1.289, allocations: 16.85 MB / 0.5862 GB, free: 87.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.289, allocations: 100.7 kB / 0.5863 GB, free: 87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/1.293, allocations: 2.838 MB / 0.589 GB, free: 85.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000734/1.294, allocations: 96.14 kB / 0.5891 GB, free: 85.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.295, allocations: 3.043 MB / 0.5921 GB, free: 83.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.297, allocations: 1.391 MB / 0.5935 GB, free: 82.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/1.298, allocations: 0.9482 MB / 0.5944 GB, free: 82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/1.298, allocations: 304.8 kB / 0.5947 GB, free: 81.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.301, allocations: 2.506 MB / 0.5971 GB, free: 80.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/1.306, allocations: 4.108 MB / 0.6011 GB, free: 77.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008125/1.314, allocations: 7.191 MB / 0.6082 GB, free: 71.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.044e-05/1.314, allocations: 15.84 kB / 0.6082 GB, free: 71.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01314/1.327, allocations: 8.008 MB / 0.616 GB, free: 65.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/1.327, allocations: 24 kB / 0.616 GB, free: 65.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-05/1.327, allocations: 52 kB / 0.6161 GB, free: 65.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/1.33, allocations: 1.204 MB / 0.6172 GB, free: 64.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/1.334, allocations: 1.147 MB / 0.6184 GB, free: 63.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.347, allocations: 11.12 MB / 0.6292 GB, free: 51.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/1.351, allocations: 259.6 kB / 0.6295 GB, free: 51.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008397/1.352, allocations: 240 kB / 0.6297 GB, free: 51.17 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.005142/1.357, allocations: 2.948 MB / 0.6326 GB, free: 48.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.359, allocations: 355.7 kB / 0.6329 GB, free: 47.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.369, allocations: 6.675 MB / 0.6394 GB, free: 41.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.369, allocations: 40 kB / 0.6395 GB, free: 41.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.369, allocations: 12 kB / 0.6395 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/1.369, allocations: 19.92 kB / 0.6395 GB, free: 41.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.391, allocations: 15.17 MB / 0.6543 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.391, allocations: 8 kB / 0.6543 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.394, allocations: 0.7496 MB / 0.6551 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/1.396, allocations: 1.106 MB / 0.6561 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/1.397, allocations: 95.97 kB / 0.6562 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.408, allocations: 10.05 MB / 0.666 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.408, allocations: 7.938 kB / 0.666 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.422, allocations: 9.984 MB / 0.6758 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.424, allocations: 0.926 MB / 0.6767 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/1.425, allocations: 84 kB / 0.6768 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.427, allocations: 199.8 kB / 0.677 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006684/1.428, allocations: 299.2 kB / 0.6773 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.428, allocations: 136 kB / 0.6774 GB, free: 1.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002726/1.431, allocations: 1.955 MB / 0.6793 GB, free: 15.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.431, allocations: 0 / 0.6793 GB, free: 15.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005893/1.437, allocations: 1.397 MB / 0.6807 GB, free: 14.35 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.0008699/1.437, allocations: 265.6 kB / 0.6809 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03554/1.473, allocations: 13.55 MB / 0.6941 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/1.473, allocations: 4.938 kB / 0.6942 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008354/1.481, allocations: 3.548 MB / 0.6976 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/1.487, allocations: 0.8363 MB / 0.6984 GB, free: 12.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2691/1.757, allocations: 17.1 MB / 0.7151 GB, free: 148.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008822/1.765, allocations: 4.946 MB / 0.72 GB, free: 147.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/1.767, allocations: 371.5 kB / 0.7203 GB, free: 147.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/1.767, allocations: 1.219 kB / 0.7203 GB, free: 147.3 MB / 478.1 MB Notification: Performance of Templates: time 0.481/2.248, allocations: 175 MB / 0.8913 GB, free: 145.3 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)