Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008256/0.008256, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.00142/0.00142, allocations: 195.1 kB / 16.67 MB, free: 5.449 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.991/1.991, allocations: 205.1 MB / 222.6 MB, free: 4.363 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.001284/0.001284, allocations: 50.58 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01364/0.1688, allocations: 8.785 MB / 382 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008327/0.1772, allocations: 2.883 MB / 384.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.1796, allocations: 39.81 kB / 384.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.1822, allocations: 0.6368 MB / 385.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.1868, allocations: 0.734 MB / 386.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1885, allocations: 331.5 kB / 386.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004903/0.1934, allocations: 2.229 MB / 388.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.1961, allocations: 1.71 MB / 390.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.1986, allocations: 1.016 MB / 391.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.2015, allocations: 1.284 MB / 392.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005501/0.2021, allocations: 275.9 kB / 393.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2032, allocations: 355.8 kB / 393.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2043, allocations: 0.7558 MB / 394.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.2065, allocations: 1.209 MB / 395.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005564/0.2121, allocations: 3.542 MB / 399 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.2121, allocations: 0 / 399 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.2121, allocations: 0 / 399 MB, free: 7.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.2123, allocations: 0 / 399 MB, free: 7.363 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007318/0.2196, allocations: 2.53 MB / 401.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.436e-05/0.2197, allocations: 15.89 kB / 401.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.2207, allocations: 263.4 kB / 401.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.2239, allocations: 1.24 MB / 403 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.2241, allocations: 131.9 kB / 403.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.2244, allocations: 188 kB / 403.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.2298, allocations: 2.371 MB / 405.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.651e-05/0.2299, allocations: 7.938 kB / 405.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.2301, allocations: 68 kB / 405.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.2302, allocations: 95.5 kB / 405.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.2342, allocations: 1.962 MB / 407.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.2481, allocations: 7.08 MB / 414.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.2502, allocations: 1.276 MB / 416.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.2519, allocations: 0.8542 MB / 417 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.2522, allocations: 122.1 kB / 417.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.2523, allocations: 43.5 kB / 417.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.597e-06/0.2523, allocations: 0 / 417.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01507/0.2674, allocations: 5.931 MB / 423.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.2675, allocations: 64.41 kB / 423.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.2699, allocations: 1.219 MB / 424.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.2701, allocations: 41.7 kB / 424.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008514/0.271, allocations: 0.887 MB / 425.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.2714, allocations: 380.7 kB / 425.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.2718, allocations: 226.9 kB / 425.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2721, allocations: 353.9 kB / 426.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.2732, allocations: 0.6116 MB / 426.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.2745, allocations: 0.9272 MB / 427.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.2771, allocations: 1.64 MB / 429.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2771, allocations: 7.938 kB / 429.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00484/0.2819, allocations: 2.228 MB / 431.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.282, allocations: 8 kB / 431.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.2821, allocations: 12 kB / 431.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.2834, allocations: 472.2 kB / 432.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.2845, allocations: 275.5 kB / 432.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008607/0.2931, allocations: 7.022 MB / 439.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.2951, allocations: 79.86 kB / 439.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/0.2955, allocations: 60.05 kB / 439.6 MB, free: 13.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00194/0.2974, allocations: 0.5872 MB / 440.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007255/0.2982, allocations: 143 kB / 440.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.3028, allocations: 2.032 MB / 442.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3029, allocations: 8 kB / 442.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.3029, allocations: 4 kB / 442.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.3029, allocations: 3.984 kB / 442.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.313, allocations: 4.229 MB / 446.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.3131, allocations: 4 kB / 446.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.3139, allocations: 175.8 kB / 446.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.3154, allocations: 0.5194 MB / 447.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.3156, allocations: 31.98 kB / 447.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3774/0.693, allocations: 8.605 MB / 455.9 MB, free: 67.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/0.693, allocations: 7.125 kB / 455.9 MB, free: 67.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/0.6998, allocations: 2.953 MB / 458.9 MB, free: 66.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/0.7014, allocations: 351.7 kB / 459.2 MB, free: 66.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.7017, allocations: 37.73 kB / 459.3 MB, free: 66.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7027, allocations: 71.72 kB / 459.3 MB, free: 66.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.7031, allocations: 92.16 kB / 459.4 MB, free: 66.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7032, allocations: 35.64 kB / 459.5 MB, free: 66.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.7053, allocations: 0.8353 MB / 460.3 MB, free: 66.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7053, allocations: 0.9844 kB / 460.3 MB, free: 66.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002627/0.708, allocations: 409 kB / 460.7 MB, free: 65.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004824/0.7085, allocations: 192.9 kB / 460.9 MB, free: 65.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.7126, allocations: 2.168 MB / 463 MB, free: 64.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7126, allocations: 3.469 kB / 463 MB, free: 64.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.7153, allocations: 1.466 MB / 464.5 MB, free: 63.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.7177, allocations: 379.3 kB / 464.9 MB, free: 63.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/0.725, allocations: 3.994 MB / 468.9 MB, free: 61.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.7265, allocations: 1.633 MB / 470.5 MB, free: 60.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.7277, allocations: 302.4 kB / 470.8 MB, free: 60.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.7279, allocations: 94.3 kB / 470.9 MB, free: 60.87 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7279, allocations: 3.969 kB / 470.9 MB, free: 60.87 MB / 382.1 MB Notification: Performance of Templates: time 0.03742/0.7654, allocations: 22.64 MB / 493.5 MB, free: 42.19 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)