Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005449/0.005449, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001247/0.001248, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.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.001225/0.001225, allocations: 54.27 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01398/0.1172, allocations: 12.76 MB / 385.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008161/0.1254, allocations: 4.283 MB / 390.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.1278, allocations: 63.75 kB / 390.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.1306, allocations: 1.014 MB / 391.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.1346, allocations: 1.297 MB / 392.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1367, allocations: 0.8573 MB / 393.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004611/0.1413, allocations: 3.876 MB / 397.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.1448, allocations: 3.18 MB / 400.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.1473, allocations: 1.838 MB / 402.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.1502, allocations: 2.067 MB / 404.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006927/0.1509, allocations: 0.4961 MB / 404.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1521, allocations: 0.699 MB / 405.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.1531, allocations: 1.106 MB / 406.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.1553, allocations: 2.077 MB / 408.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006436/0.1617, allocations: 6.578 MB / 415.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1618, allocations: 0 / 415.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1618, allocations: 3.984 kB / 415.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.1619, allocations: 0 / 415.4 MB, free: 6.883 MB / 350.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.01015/0.1721, allocations: 4.308 MB / 419.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1721, allocations: 8.031 kB / 419.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.1761, allocations: 0.8008 MB / 420.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.1798, allocations: 2.239 MB / 422.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.18, allocations: 246.3 kB / 423 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.1805, allocations: 307.9 kB / 423.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00692/0.1874, allocations: 4.223 MB / 427.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.563e-05/0.1875, allocations: 7.906 kB / 427.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.1878, allocations: 124 kB / 427.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.188, allocations: 158.3 kB / 427.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006043/0.194, allocations: 3.597 MB / 431.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.213, allocations: 13.01 MB / 444.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/0.2195, allocations: 6.908 MB / 451.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.2217, allocations: 1.347 MB / 452.6 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2141/0.4358, allocations: 3.688 MB / 456.3 MB, free: 67.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4359, allocations: 49.97 kB / 456.4 MB, free: 67.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.078e-06/0.4359, allocations: 3.781 kB / 456.4 MB, free: 67.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01006/0.4459, allocations: 5.364 MB / 461.8 MB, free: 64.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.446, allocations: 68.88 kB / 461.8 MB, free: 64.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.4484, allocations: 1.706 MB / 463.5 MB, free: 64.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.4485, allocations: 46.23 kB / 463.6 MB, free: 63.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000713/0.4492, allocations: 1.397 MB / 465 MB, free: 62.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.4495, allocations: 433.3 kB / 465.4 MB, free: 62.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.4499, allocations: 285.5 kB / 465.7 MB, free: 62.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.4499, allocations: 302.4 kB / 466 MB, free: 62.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/0.4509, allocations: 0.6398 MB / 466.6 MB, free: 61.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.4521, allocations: 1.117 MB / 467.7 MB, free: 61.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.4542, allocations: 1.874 MB / 469.6 MB, free: 59.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.4543, allocations: 4.094 kB / 469.6 MB, free: 59.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003346/0.4576, allocations: 2.321 MB / 471.9 MB, free: 58.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4577, allocations: 12.44 kB / 471.9 MB, free: 58.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.4577, allocations: 16.41 kB / 471.9 MB, free: 58.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.4583, allocations: 270.3 kB / 472.2 MB, free: 58.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4595, allocations: 354.8 kB / 472.6 MB, free: 58.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.4635, allocations: 6.2 MB / 478.8 MB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.4645, allocations: 79 kB / 478.8 MB, free: 53.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.4646, allocations: 65.61 kB / 478.9 MB, free: 53.23 MB / 382.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.001331/0.466, allocations: 0.9972 MB / 479.9 MB, free: 52.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.4662, allocations: 184.3 kB / 480.1 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.4691, allocations: 2.122 MB / 482.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4691, allocations: 15.66 kB / 482.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4691, allocations: 7.906 kB / 482.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4692, allocations: 11.97 kB / 482.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.475, allocations: 4.81 MB / 487 MB, free: 48.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.475, allocations: 3.906 kB / 487 MB, free: 48.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.4757, allocations: 166.7 kB / 487.2 MB, free: 48.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009247/0.4766, allocations: 451.9 kB / 487.7 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.4767, allocations: 35.98 kB / 487.7 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/0.4838, allocations: 11.02 MB / 498.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4838, allocations: 4.125 kB / 498.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.4874, allocations: 2.994 MB / 0.4899 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.4881, allocations: 410.7 kB / 0.4903 GB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.4883, allocations: 32 kB / 0.4904 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.4891, allocations: 67.94 kB / 0.4904 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.4893, allocations: 104.7 kB / 0.4905 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.4894, allocations: 39.27 kB / 0.4906 GB, free: 32.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4908, allocations: 1.17 MB / 0.4917 GB, free: 31.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4908, allocations: 0 / 0.4917 GB, free: 31.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4928, allocations: 0.5391 MB / 0.4922 GB, free: 30.55 MB / 382.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.0002759/0.493, allocations: 157.7 kB / 0.4924 GB, free: 30.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.4958, allocations: 2.081 MB / 0.4944 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4958, allocations: 0 / 0.4944 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.4976, allocations: 1.528 MB / 0.4959 GB, free: 26.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.4993, allocations: 0.5037 MB / 0.4964 GB, free: 26.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.5071, allocations: 5.474 MB / 0.5017 GB, free: 20.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.5086, allocations: 2.277 MB / 0.504 GB, free: 18.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5098, allocations: 387.8 kB / 0.5043 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.51, allocations: 123.4 kB / 0.5045 GB, free: 17.86 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.51, allocations: 0 / 0.5045 GB, free: 17.86 MB / 382.1 MB Notification: Performance of Templates: time 0.04318/0.5532, allocations: 27.98 MB / 0.5318 GB, free: 5.855 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)