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.001099/0.0011, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001028/0.001028, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.0004684/0.0004685, allocations: 16 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01158/0.255, allocations: 11.21 MB / 337.7 MB, free: 8.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.2631, allocations: 3.972 MB / 341.7 MB, free: 4.242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.2644, allocations: 63.69 kB / 341.7 MB, free: 4.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.2662, allocations: 0.7263 MB / 342.5 MB, free: 3.449 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.2688, allocations: 1.033 MB / 343.5 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2703, allocations: 0.5769 MB / 344.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004001/0.2743, allocations: 3.887 MB / 348 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.2768, allocations: 2.174 MB / 350.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.2786, allocations: 1.249 MB / 351.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.2806, allocations: 1.583 MB / 353 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.2809, allocations: 204 kB / 353.2 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.2818, allocations: 403.7 kB / 353.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.2825, allocations: 0.7357 MB / 354.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007994/0.2833, allocations: 0.7226 MB / 355 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.2881, allocations: 5.384 MB / 360.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2881, allocations: 3.938 kB / 360.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2881, allocations: 0 / 360.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.2883, allocations: 0 / 360.4 MB, free: 1.406 MB / 286.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.009382/0.2977, allocations: 3.68 MB / 364.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2977, allocations: 8.031 kB / 364.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.3019, allocations: 0.8077 MB / 364.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.3054, allocations: 2.126 MB / 367 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3056, allocations: 238.2 kB / 367.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004302/0.306, allocations: 307.9 kB / 367.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0072/0.3132, allocations: 4.207 MB / 371.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.487e-05/0.3133, allocations: 7.891 kB / 371.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.3136, allocations: 128 kB / 371.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.3138, allocations: 150.3 kB / 372 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/0.32, allocations: 3.593 MB / 375.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0196/0.3396, allocations: 13.25 MB / 388.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006159/0.3458, allocations: 6.901 MB / 395.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/0.348, allocations: 1.375 MB / 397.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006315/0.3543, allocations: 3.738 MB / 400.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.3544, allocations: 47.55 kB / 400.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=119): time 4.208e-06/0.3544, allocations: 3.984 kB / 400.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01103/0.3654, allocations: 5.462 MB / 406.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3655, allocations: 68.41 kB / 406.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.3684, allocations: 1.694 MB / 408.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.02e-05/0.3685, allocations: 45.7 kB / 408.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.3696, allocations: 1.407 MB / 409.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.3699, allocations: 425.8 kB / 410 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.37, allocations: 32 kB / 410.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3702, allocations: 361.9 kB / 410.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3714, allocations: 0.6481 MB / 411.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3728, allocations: 1.114 MB / 412.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.3744, allocations: 0.8535 MB / 413 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.3744, allocations: 4 kB / 413 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00389/0.3783, allocations: 2.327 MB / 415.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.3783, allocations: 12 kB / 415.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.3784, allocations: 16 kB / 415.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.3791, allocations: 267.5 kB / 415.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.3804, allocations: 363.4 kB / 416 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/0.3857, allocations: 5.702 MB / 421.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3869, allocations: 84.11 kB / 421.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3871, allocations: 64.12 kB / 421.9 MB, free: 1.508 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001868/0.389, allocations: 1.001 MB / 422.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.3894, allocations: 185.8 kB / 423 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.3931, allocations: 2.119 MB / 425.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.3932, allocations: 12 kB / 425.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/0.3932, allocations: 8 kB / 425.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3932, allocations: 11.92 kB / 425.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007969/0.4012, allocations: 4.831 MB / 430 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4012, allocations: 7.984 kB / 430 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.402, allocations: 172 kB / 430.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.4031, allocations: 448 kB / 430.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/0.4032, allocations: 35.98 kB / 430.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009966/0.4132, allocations: 10.07 MB / 440.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4132, allocations: 192 / 440.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.4182, allocations: 3.008 MB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009636/0.4192, allocations: 410.6 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/0.4196, allocations: 39.98 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009831/0.4206, allocations: 75.95 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.4209, allocations: 100.8 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.421, allocations: 35.98 kB / 444.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.4231, allocations: 1.158 MB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4231, allocations: 0 / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002295/0.4254, allocations: 0.5352 MB / 446.1 MB, free: 8.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003609/0.4258, allocations: 170.9 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.4292, allocations: 2.077 MB / 448.3 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4292, allocations: 3.938 kB / 448.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.4315, allocations: 1.524 MB / 449.9 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.4339, allocations: 497.9 kB / 450.3 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1945/0.6284, allocations: 6.645 MB / 457 MB, free: 94.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.6304, allocations: 2.274 MB / 459.3 MB, free: 93.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001359/0.6318, allocations: 390 kB / 459.6 MB, free: 93.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.6321, allocations: 119.1 kB / 459.8 MB, free: 93.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6321, allocations: 2.594 kB / 459.8 MB, free: 93.53 MB / 382.1 MB Notification: Performance of Templates: time 0.03381/0.6659, allocations: 25.5 MB / 485.3 MB, free: 75.36 MB / 382.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)