Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001987/0.001987, allocations: 97.97 kB / 16.5 MB, free: 6.641 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.002449/0.002449, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.981/1.981, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.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.001522/0.001522, allocations: 43.92 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1449, allocations: 46.64 MB / 326 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0122/0.1571, allocations: 8.745 MB / 334.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.1642, allocations: 2.856 MB / 337.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.1661, allocations: 39.81 kB / 337.6 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.1686, allocations: 0.5286 MB / 338.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.1719, allocations: 0.6371 MB / 338.8 MB, free: 7.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1732, allocations: 287.7 kB / 339.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.1774, allocations: 2.569 MB / 341.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.1795, allocations: 1.398 MB / 343 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.1814, allocations: 0.8911 MB / 343.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.1835, allocations: 1.238 MB / 345.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.1839, allocations: 168 kB / 345.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.1848, allocations: 271.8 kB / 345.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009177/0.1857, allocations: 0.6543 MB / 346.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.1872, allocations: 1.104 MB / 347.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.1906, allocations: 3.407 MB / 350.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1906, allocations: 3.938 kB / 350.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1906, allocations: 0 / 350.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.1907, allocations: 0 / 350.7 MB, free: 11.93 MB / 302.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.006451/0.1972, allocations: 2.489 MB / 353.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/0.1973, allocations: 8.031 kB / 353.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.1981, allocations: 242.3 kB / 353.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.2003, allocations: 1.22 MB / 354.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2004, allocations: 135.9 kB / 354.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.2007, allocations: 200 kB / 355 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.205, allocations: 2.367 MB / 357.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.2051, allocations: 4 kB / 357.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.2053, allocations: 72 kB / 357.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.2054, allocations: 91.5 kB / 357.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.2092, allocations: 1.962 MB / 359.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.222, allocations: 7.148 MB / 366.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.224, allocations: 1.264 MB / 367.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.2255, allocations: 0.8698 MB / 368.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.2258, allocations: 118.1 kB / 368.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.2258, allocations: 44.12 kB / 369 MB, free: 9.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 4.829e-06/0.2258, allocations: 7.938 kB / 369 MB, free: 9.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.0135/0.2393, allocations: 5.893 MB / 374.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2394, allocations: 64.41 kB / 374.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.2414, allocations: 1.215 MB / 376.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.2416, allocations: 41.7 kB / 376.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.2422, allocations: 0.8729 MB / 377.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.2426, allocations: 362.8 kB / 377.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.2429, allocations: 218.8 kB / 377.6 MB, free: 444 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2431, allocations: 357.9 kB / 378 MB, free: 80 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2398/0.4829, allocations: 0.6073 MB / 378.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4844, allocations: 0.9248 MB / 379.5 MB, free: 51.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.487, allocations: 1.637 MB / 381.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.487, allocations: 3.438 kB / 381.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004087/0.4911, allocations: 2.229 MB / 383.4 MB, free: 49.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.4912, allocations: 9.375 kB / 383.4 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.4912, allocations: 11.66 kB / 383.4 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.4926, allocations: 472.6 kB / 383.9 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4937, allocations: 267.2 kB / 384.1 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/0.5002, allocations: 6.436 MB / 390.6 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5016, allocations: 79.28 kB / 390.6 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5018, allocations: 47.91 kB / 390.7 MB, free: 44.78 MB / 318.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.001325/0.5031, allocations: 0.604 MB / 391.3 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.5035, allocations: 143.1 kB / 391.4 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.5072, allocations: 2.014 MB / 393.4 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.5072, allocations: 11.09 kB / 393.4 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5072, allocations: 7.938 kB / 393.5 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5072, allocations: 11.48 kB / 393.5 MB, free: 43.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.5144, allocations: 4.221 MB / 397.7 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.5145, allocations: 3.969 kB / 397.7 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.5152, allocations: 182 kB / 397.9 MB, free: 41.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.5164, allocations: 0.5241 MB / 398.4 MB, free: 41.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.5165, allocations: 35.45 kB / 398.4 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.5227, allocations: 7.897 MB / 406.3 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5228, allocations: 7.031 kB / 406.3 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.5268, allocations: 2.942 MB / 409.3 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/0.5275, allocations: 347.3 kB / 409.6 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.5277, allocations: 31.98 kB / 409.6 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.5284, allocations: 71.92 kB / 409.7 MB, free: 31.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.5287, allocations: 92.75 kB / 409.8 MB, free: 31.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.5287, allocations: 35.98 kB / 409.8 MB, free: 31.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.5298, allocations: 0.8343 MB / 410.7 MB, free: 30.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5298, allocations: 7.828 kB / 410.7 MB, free: 30.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001703/0.5315, allocations: 410.6 kB / 411.1 MB, free: 30.09 MB / 318.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.0003676/0.5319, allocations: 186.1 kB / 411.3 MB, free: 29.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.5351, allocations: 2.145 MB / 413.4 MB, free: 27.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5351, allocations: 0 / 413.4 MB, free: 27.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.5371, allocations: 1.484 MB / 414.9 MB, free: 26.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.5391, allocations: 369.4 kB / 415.3 MB, free: 25.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.5453, allocations: 4.76 MB / 420 MB, free: 20.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.5463, allocations: 1.632 MB / 421.6 MB, free: 19.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009741/0.5473, allocations: 295.8 kB / 421.9 MB, free: 19.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.5476, allocations: 91.42 kB / 422 MB, free: 18.93 MB / 318.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5476, allocations: 0 / 422 MB, free: 18.93 MB / 318.1 MB Notification: Performance of Templates: time 0.03301/0.5806, allocations: 21.4 MB / 443.4 MB, free: 13.52 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)