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.005132/0.005132, allocations: 96.94 kB / 15.73 MB, free: 6.488 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.001122/0.001122, allocations: 189.4 kB / 16.67 MB, free: 6.391 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001234/0.001234, allocations: 45.28 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 46.63 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.01616/0.1181, allocations: 12.75 MB / 385.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008884/0.127, allocations: 4.279 MB / 390.2 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.1292, allocations: 67.69 kB / 390.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.132, allocations: 1.01 MB / 391.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.1364, allocations: 1.297 MB / 392.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.1388, allocations: 0.8611 MB / 393.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.144, allocations: 3.892 MB / 397.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/0.1479, allocations: 3.173 MB / 400.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.1509, allocations: 1.842 MB / 402.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.1541, allocations: 2.063 MB / 404.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.1549, allocations: 0.4961 MB / 404.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.1564, allocations: 0.6951 MB / 405.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009984/0.1574, allocations: 1.11 MB / 406.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.1598, allocations: 2.077 MB / 408.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.1671, allocations: 6.595 MB / 415.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1671, allocations: 0 / 415.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1671, allocations: 4 kB / 415.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.1673, allocations: 0 / 415.4 MB, free: 6.863 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.0127/0.18, allocations: 4.397 MB / 419.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.18, allocations: 8.031 kB / 419.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.1846, allocations: 0.8222 MB / 420.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.1896, allocations: 2.252 MB / 422.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.1899, allocations: 238.4 kB / 423.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006695/0.1906, allocations: 315.9 kB / 423.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008095/0.1987, allocations: 4.215 MB / 427.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/0.1988, allocations: 4 kB / 427.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.1991, allocations: 132 kB / 427.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.1993, allocations: 150.3 kB / 427.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.2059, allocations: 3.597 MB / 431.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.2274, allocations: 13.06 MB / 444.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007647/0.2351, allocations: 6.893 MB / 451.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.2375, allocations: 1.351 MB / 452.8 MB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2894/0.5269, allocations: 3.704 MB / 456.5 MB, free: 67.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.527, allocations: 50.8 kB / 456.6 MB, free: 67.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 5.079e-06/0.5271, allocations: 0 / 456.6 MB, free: 67.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01873/0.5458, allocations: 5.404 MB / 462 MB, free: 64.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.5459, allocations: 65.7 kB / 462 MB, free: 64.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.5495, allocations: 1.708 MB / 463.7 MB, free: 63.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5496, allocations: 46.36 kB / 463.8 MB, free: 63.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009554/0.5506, allocations: 1.443 MB / 465.2 MB, free: 62.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.551, allocations: 452.3 kB / 465.7 MB, free: 62.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.5515, allocations: 283.5 kB / 466 MB, free: 62.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.5515, allocations: 304.6 kB / 466.3 MB, free: 61.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.5527, allocations: 0.6396 MB / 466.9 MB, free: 61.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.554, allocations: 1.115 MB / 468 MB, free: 60.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.5565, allocations: 1.874 MB / 469.9 MB, free: 59.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.5565, allocations: 4.594 kB / 469.9 MB, free: 59.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004335/0.5609, allocations: 2.327 MB / 472.2 MB, free: 58.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5609, allocations: 11.66 kB / 472.2 MB, free: 58.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.5609, allocations: 18.25 kB / 472.2 MB, free: 58.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006986/0.5616, allocations: 269 kB / 472.5 MB, free: 58.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5629, allocations: 355.5 kB / 472.9 MB, free: 58.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.5674, allocations: 6.21 MB / 479.1 MB, free: 53.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.569, allocations: 73.73 kB / 479.1 MB, free: 53.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.5692, allocations: 69.28 kB / 479.2 MB, free: 53.04 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.001744/0.5709, allocations: 0.9976 MB / 480.2 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.5715, allocations: 193.5 kB / 480.4 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.5751, allocations: 2.118 MB / 482.5 MB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5751, allocations: 11.78 kB / 482.5 MB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.5751, allocations: 7.906 kB / 482.5 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5752, allocations: 7.969 kB / 482.5 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008207/0.5834, allocations: 4.818 MB / 487.4 MB, free: 48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5834, allocations: 3.938 kB / 487.4 MB, free: 48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.5841, allocations: 168.3 kB / 487.5 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.5852, allocations: 450.8 kB / 488 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.5853, allocations: 39.98 kB / 488 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007795/0.5931, allocations: 11.03 MB / 499 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5932, allocations: 0 / 499 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.5974, allocations: 3.008 MB / 0.4903 GB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.5986, allocations: 411.8 kB / 0.4907 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.5989, allocations: 31.98 kB / 0.4907 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.5998, allocations: 67.94 kB / 0.4908 GB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.6, allocations: 96.75 kB / 0.4909 GB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.6001, allocations: 35.98 kB / 0.4909 GB, free: 32.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.6015, allocations: 1.178 MB / 0.492 GB, free: 30.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6016, allocations: 4 kB / 0.492 GB, free: 30.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001978/0.6035, allocations: 0.539 MB / 0.4926 GB, free: 30.41 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.0002917/0.6038, allocations: 158.6 kB / 0.4927 GB, free: 30.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.6066, allocations: 2.081 MB / 0.4947 GB, free: 28.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6067, allocations: 0 / 0.4947 GB, free: 28.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.6086, allocations: 1.536 MB / 0.4962 GB, free: 26.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.6107, allocations: 0.5052 MB / 0.4967 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/0.6197, allocations: 5.558 MB / 0.5022 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.6212, allocations: 2.277 MB / 0.5044 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.6224, allocations: 391.8 kB / 0.5048 GB, free: 17.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.6227, allocations: 119.4 kB / 0.5049 GB, free: 17.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6227, allocations: 0 / 0.5049 GB, free: 17.61 MB / 382.1 MB Notification: Performance of Templates: time 0.04376/0.6664, allocations: 27.99 MB / 0.5322 GB, free: 5.594 MB / 398.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)