Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.005888/0.005889, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001131/0.001131, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001254/0.001254, allocations: 55.92 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.09017, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2329/0.3231, allocations: 12.76 MB / 385.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009034/0.3322, allocations: 4.269 MB / 390.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.335, allocations: 73.56 kB / 390.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.3383, allocations: 1.01 MB / 391.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.3427, allocations: 1.304 MB / 392.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.3448, allocations: 0.8619 MB / 393.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.35, allocations: 3.883 MB / 397.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00422/0.3542, allocations: 3.175 MB / 400.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.3579, allocations: 1.845 MB / 402.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.3615, allocations: 2.057 MB / 404.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008437/0.3624, allocations: 0.4979 MB / 404.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3642, allocations: 0.6956 MB / 405.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.3653, allocations: 1.104 MB / 406.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.368, allocations: 2.079 MB / 408.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007716/0.3757, allocations: 6.589 MB / 415.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3757, allocations: 0 / 415.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3758, allocations: 1.375 kB / 415.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001548/0.3759, allocations: 0 / 415.4 MB, free: 4.84 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.01293/0.3888, allocations: 4.301 MB / 419.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3889, allocations: 8.031 kB / 419.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/0.3933, allocations: 0.7969 MB / 420.5 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.3977, allocations: 2.243 MB / 422.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.3979, allocations: 238.6 kB / 423 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/0.3984, allocations: 315.8 kB / 423.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007339/0.4057, allocations: 4.223 MB / 427.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/0.4058, allocations: 7.844 kB / 427.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/0.4061, allocations: 128 kB / 427.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.4063, allocations: 150.3 kB / 427.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00607/0.4124, allocations: 3.593 MB / 431.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.4323, allocations: 13.02 MB / 444.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/0.4392, allocations: 6.912 MB / 451.3 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.4413, allocations: 1.343 MB / 452.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007043/0.4484, allocations: 3.703 MB / 456.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4485, allocations: 43.56 kB / 456.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.966e-06/0.4485, allocations: 0 / 456.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01116/0.4596, allocations: 5.368 MB / 461.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.4597, allocations: 68.39 kB / 461.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/0.463, allocations: 1.709 MB / 463.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.4631, allocations: 49.7 kB / 463.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.4642, allocations: 1.395 MB / 465 MB, free: 2.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.4646, allocations: 429.8 kB / 465.4 MB, free: 1.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005023/0.4651, allocations: 283.3 kB / 465.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4652, allocations: 309.1 kB / 466 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4664, allocations: 0.6403 MB / 466.6 MB, free: 392 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.468, allocations: 1.114 MB / 467.7 MB, free: 15.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.4707, allocations: 1.871 MB / 469.6 MB, free: 12.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.4707, allocations: 4 kB / 469.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004084/0.4748, allocations: 2.319 MB / 471.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4749, allocations: 12 kB / 471.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.4749, allocations: 16 kB / 471.9 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/0.4756, allocations: 275.5 kB / 472.2 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.477, allocations: 355.4 kB / 472.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.4827, allocations: 6.198 MB / 478.8 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4841, allocations: 80.02 kB / 478.8 MB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.4843, allocations: 67.98 kB / 478.9 MB, free: 3.211 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.001747/0.486, allocations: 1.005 MB / 479.9 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.4865, allocations: 177.8 kB / 480.1 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.4903, allocations: 2.115 MB / 482.2 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4903, allocations: 12 kB / 482.2 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.4904, allocations: 8 kB / 482.2 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4904, allocations: 7.984 kB / 482.2 MB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008568/0.499, allocations: 4.827 MB / 487.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.499, allocations: 0 / 487.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.4998, allocations: 171.8 kB / 487.2 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.501, allocations: 436.1 kB / 487.6 MB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5011, allocations: 35.98 kB / 487.7 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.5114, allocations: 11.02 MB / 498.7 MB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5115, allocations: 12.06 kB / 498.7 MB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.5165, allocations: 2.992 MB / 0.4899 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.5175, allocations: 406.7 kB / 0.4903 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.5179, allocations: 31.98 kB / 0.4904 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.519, allocations: 63.95 kB / 0.4904 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.5193, allocations: 104.7 kB / 0.4905 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.5194, allocations: 35.98 kB / 0.4906 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002249/0.5217, allocations: 1.174 MB / 0.4917 GB, free: 9.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5217, allocations: 0 / 0.4917 GB, free: 9.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002439/0.5241, allocations: 0.5391 MB / 0.4922 GB, free: 9.027 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.0004005/0.5245, allocations: 167 kB / 0.4924 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.5281, allocations: 2.07 MB / 0.4944 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5281, allocations: 0 / 0.4944 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.5305, allocations: 1.534 MB / 0.4959 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5328, allocations: 0.5176 MB / 0.4964 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.544, allocations: 5.469 MB / 0.5018 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/0.5469, allocations: 2.273 MB / 0.504 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001315/0.5483, allocations: 387.8 kB / 0.5043 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.5487, allocations: 123.4 kB / 0.5045 GB, free: 12.28 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5488, allocations: 0 / 0.5045 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Templates: time 0.04977/0.5985, allocations: 27.98 MB / 0.5318 GB, free: 248 kB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)