Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 113.4 kB / 17.06 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.00167, allocations: 195 kB / 17.99 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09604, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2073/0.3033, allocations: 12.77 MB / 387.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008934/0.3123, allocations: 4.279 MB / 391.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.3151, allocations: 73.84 kB / 391.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.3181, allocations: 1.005 MB / 392.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.3228, allocations: 1.3 MB / 393.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.3249, allocations: 0.8627 MB / 394.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.3302, allocations: 3.88 MB / 398.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003774/0.334, allocations: 3.179 MB / 401.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.3374, allocations: 1.844 MB / 403.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.3412, allocations: 2.055 MB / 405.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3422, allocations: 0.5032 MB / 406.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.3444, allocations: 0.7016 MB / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3456, allocations: 1.102 MB / 408 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003525/0.3491, allocations: 2.072 MB / 410.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007162/0.3563, allocations: 6.585 MB / 416.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3564, allocations: 1.375 kB / 416.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3564, allocations: 3.938 kB / 416.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001678/0.3565, allocations: 0 / 416.7 MB, free: 4.848 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0141/0.3706, allocations: 4.303 MB / 421 MB, free: 1.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.3707, allocations: 12.03 kB / 421 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.3761, allocations: 0.7969 MB / 421.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/0.3809, allocations: 2.243 MB / 424 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.3811, allocations: 234.6 kB / 424.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008709/0.382, allocations: 315.8 kB / 424.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009076/0.3911, allocations: 4.223 MB / 428.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.612e-05/0.3912, allocations: 7.844 kB / 428.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.3917, allocations: 128 kB / 428.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.3919, allocations: 150.3 kB / 429.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007115/0.399, allocations: 3.597 MB / 432.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.4221, allocations: 13.02 MB / 445.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007146/0.4293, allocations: 6.896 MB / 452.6 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.4316, allocations: 1.339 MB / 453.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00638/0.438, allocations: 3.715 MB / 457.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4381, allocations: 47.56 kB / 457.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.895e-06/0.4381, allocations: 0 / 457.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01103/0.4492, allocations: 5.368 MB / 463.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.4492, allocations: 60.41 kB / 463.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/0.4523, allocations: 1.713 MB / 464.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4524, allocations: 49.7 kB / 464.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00097/0.4534, allocations: 1.387 MB / 466.3 MB, free: 2.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.4537, allocations: 437.8 kB / 466.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/0.4542, allocations: 283.3 kB / 467 MB, free: 1.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.4543, allocations: 305.1 kB / 467.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4554, allocations: 0.6403 MB / 467.9 MB, free: 396 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.4569, allocations: 1.118 MB / 469 MB, free: 15.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.4595, allocations: 1.868 MB / 470.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.4595, allocations: 4 kB / 470.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004085/0.4636, allocations: 2.323 MB / 473.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4637, allocations: 12 kB / 473.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.4637, allocations: 12 kB / 473.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/0.4645, allocations: 275.5 kB / 473.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4658, allocations: 359.4 kB / 473.9 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.4716, allocations: 6.198 MB / 480.1 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4731, allocations: 71.86 kB / 480.1 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.4733, allocations: 72 kB / 480.2 MB, free: 3.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.4752, allocations: 1.005 MB / 481.2 MB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.4757, allocations: 181.8 kB / 481.4 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.4796, allocations: 2.115 MB / 483.5 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4797, allocations: 12 kB / 483.5 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.4797, allocations: 4 kB / 483.5 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4797, allocations: 7.922 kB / 483.5 MB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008936/0.4887, allocations: 4.827 MB / 488.4 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4887, allocations: 4 kB / 488.4 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.4895, allocations: 163.8 kB / 488.5 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4908, allocations: 456.1 kB / 489 MB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4909, allocations: 35.98 kB / 489 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.5014, allocations: 11.01 MB / 0.4883 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.5014, allocations: 11.91 kB / 0.4883 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/0.5063, allocations: 2.984 MB / 0.4912 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.5077, allocations: 402.7 kB / 0.4916 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/0.5084, allocations: 35.98 kB / 0.4916 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5097, allocations: 63.95 kB / 0.4917 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.5099, allocations: 104.7 kB / 0.4918 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/0.51, allocations: 35.98 kB / 0.4918 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002276/0.5123, allocations: 1.178 MB / 0.493 GB, free: 9.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5123, allocations: 3.938 kB / 0.493 GB, free: 9.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002419/0.5147, allocations: 0.5352 MB / 0.4935 GB, free: 9.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003707/0.5151, allocations: 167.4 kB / 0.4937 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.5185, allocations: 2.072 MB / 0.4957 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5186, allocations: 1.812 kB / 0.4957 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.5209, allocations: 1.53 MB / 0.4972 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.5236, allocations: 0.5182 MB / 0.4977 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5344, allocations: 5.465 MB / 0.503 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/0.5375, allocations: 2.277 MB / 0.5053 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.539, allocations: 383.8 kB / 0.5056 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.5395, allocations: 127.4 kB / 0.5057 GB, free: 12.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5395, allocations: 0 / 0.5057 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Templates: time 0.05116/0.5907, allocations: 27.99 MB / 0.5331 GB, free: 240 kB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)