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.0084/0.0084, allocations: 105.4 kB / 15.74 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.001939/0.001939, allocations: 196.1 kB / 16.68 MB, free: 6.375 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001162/0.001162, allocations: 49.39 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09574, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01379/0.1096, allocations: 12.76 MB / 385.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.1192, allocations: 4.291 MB / 390.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.1218, allocations: 63.75 kB / 390.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.1252, allocations: 1.006 MB / 391.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.13, allocations: 1.297 MB / 392.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1325, allocations: 0.8573 MB / 393.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005453/0.138, allocations: 3.876 MB / 397.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00478/0.1428, allocations: 3.173 MB / 400.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.1459, allocations: 1.842 MB / 402.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.1499, allocations: 2.063 MB / 404.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.1512, allocations: 0.4961 MB / 404.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.1537, allocations: 0.6951 MB / 405.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.1554, allocations: 1.106 MB / 406.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003913/0.1594, allocations: 2.073 MB / 408.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006905/0.1663, allocations: 6.586 MB / 415.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1663, allocations: 0 / 415.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1663, allocations: 0 / 415.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.1665, allocations: 0 / 415.4 MB, free: 6.891 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.01134/0.1778, allocations: 4.308 MB / 419.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1779, allocations: 11.97 kB / 419.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.1822, allocations: 0.8008 MB / 420.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004261/0.1865, allocations: 2.239 MB / 422.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.1867, allocations: 242.4 kB / 423 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/0.1874, allocations: 311.8 kB / 423.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007791/0.1952, allocations: 4.227 MB / 427.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.1953, allocations: 7.906 kB / 427.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.1956, allocations: 124 kB / 427.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.1958, allocations: 150.3 kB / 427.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/0.2023, allocations: 3.605 MB / 431.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.2252, allocations: 13.01 MB / 444.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007745/0.233, allocations: 6.907 MB / 451.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.2354, allocations: 1.348 MB / 452.6 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2217/0.4571, allocations: 3.692 MB / 456.3 MB, free: 67.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4571, allocations: 48.28 kB / 456.4 MB, free: 67.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.885e-06/0.4572, allocations: 1.125 kB / 456.4 MB, free: 67.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01064/0.4678, allocations: 5.362 MB / 461.7 MB, free: 64.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4679, allocations: 64.09 kB / 461.8 MB, free: 64.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.471, allocations: 1.708 MB / 463.5 MB, free: 63.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.4711, allocations: 47.14 kB / 463.6 MB, free: 63.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.4721, allocations: 1.401 MB / 465 MB, free: 62.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.4725, allocations: 435.5 kB / 465.4 MB, free: 62.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/0.473, allocations: 283.6 kB / 465.7 MB, free: 62.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.4731, allocations: 301.1 kB / 466 MB, free: 61.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4742, allocations: 0.6393 MB / 466.6 MB, free: 61.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4756, allocations: 1.116 MB / 467.7 MB, free: 60.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.4778, allocations: 1.872 MB / 469.6 MB, free: 59.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.4778, allocations: 9.75 kB / 469.6 MB, free: 59.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003506/0.4813, allocations: 2.316 MB / 471.9 MB, free: 58.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4814, allocations: 13.25 kB / 471.9 MB, free: 58.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.4814, allocations: 11.84 kB / 471.9 MB, free: 58.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.482, allocations: 268.3 kB / 472.2 MB, free: 58.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4833, allocations: 358.5 kB / 472.5 MB, free: 58.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.4874, allocations: 6.215 MB / 478.8 MB, free: 53.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.4888, allocations: 67.16 kB / 478.8 MB, free: 53.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.4889, allocations: 71.44 kB / 478.9 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.001589/0.4905, allocations: 1.003 MB / 479.9 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.4907, allocations: 184.4 kB / 480.1 MB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.4939, allocations: 2.118 MB / 482.2 MB, free: 51.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4939, allocations: 15 kB / 482.2 MB, free: 51.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4939, allocations: 7.906 kB / 482.2 MB, free: 51.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4939, allocations: 7.969 kB / 482.2 MB, free: 51.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/0.5004, allocations: 4.807 MB / 487 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.5004, allocations: 7.906 kB / 487 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/0.5011, allocations: 173.2 kB / 487.2 MB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009468/0.5021, allocations: 440 kB / 487.6 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.5022, allocations: 38.06 kB / 487.7 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.5096, allocations: 11.03 MB / 498.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5096, allocations: 0 / 498.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.5136, allocations: 2.999 MB / 0.4899 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.5145, allocations: 406.8 kB / 0.4903 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5148, allocations: 28 kB / 0.4904 GB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/0.5156, allocations: 69.91 kB / 0.4904 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.5159, allocations: 104.7 kB / 0.4905 GB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.516, allocations: 32 kB / 0.4906 GB, free: 32.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.5175, allocations: 1.174 MB / 0.4917 GB, free: 30.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5175, allocations: 0 / 0.4917 GB, free: 30.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002044/0.5195, allocations: 0.5416 MB / 0.4922 GB, free: 30.35 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.0003067/0.5199, allocations: 159 kB / 0.4924 GB, free: 30.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.5227, allocations: 2.077 MB / 0.4944 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.5227, allocations: 0 / 0.4944 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.5246, allocations: 1.53 MB / 0.4959 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.5268, allocations: 0.5004 MB / 0.4964 GB, free: 25.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/0.5347, allocations: 5.475 MB / 0.5017 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.5362, allocations: 2.284 MB / 0.504 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.5374, allocations: 387.8 kB / 0.5043 GB, free: 17.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.5377, allocations: 119.4 kB / 0.5045 GB, free: 17.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5377, allocations: 0 / 0.5045 GB, free: 17.67 MB / 382.1 MB Notification: Performance of Templates: time 0.04312/0.5808, allocations: 27.98 MB / 0.5318 GB, free: 5.656 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)