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.001414/0.001425, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001573/0.001573, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.858/1.858, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001261/0.001261, allocations: 51.92 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 46.63 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01305/0.147, allocations: 8.777 MB / 335.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.1555, allocations: 2.883 MB / 338.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.158, allocations: 39.81 kB / 338.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.1607, allocations: 0.6019 MB / 338.9 MB, free: 8.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.1647, allocations: 0.6989 MB / 339.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1661, allocations: 335.5 kB / 340 MB, free: 7.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004158/0.1703, allocations: 2.233 MB / 342.2 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.173, allocations: 1.706 MB / 343.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.1756, allocations: 1.001 MB / 344.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.1784, allocations: 1.281 MB / 346.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007249/0.1791, allocations: 272 kB / 346.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.1802, allocations: 355.8 kB / 346.8 MB, free: 156 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1813, allocations: 0.7675 MB / 347.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.184, allocations: 1.206 MB / 348.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.1893, allocations: 3.481 MB / 352.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1894, allocations: 0 / 352.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.881e-06/0.1894, allocations: 0 / 352.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.1895, allocations: 3.938 kB / 352.3 MB, free: 10.68 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.006946/0.1965, allocations: 2.489 MB / 354.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1966, allocations: 11.89 kB / 354.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.1974, allocations: 242.3 kB / 355 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.1997, allocations: 1.22 MB / 356.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.1999, allocations: 139.9 kB / 356.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.2002, allocations: 184 kB / 356.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004839/0.205, allocations: 2.371 MB / 358.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.2051, allocations: 8 kB / 358.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.2053, allocations: 72 kB / 359 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.2054, allocations: 91.5 kB / 359.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.2093, allocations: 1.966 MB / 361 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.225, allocations: 7.14 MB / 368.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.2275, allocations: 1.272 MB / 369.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.2292, allocations: 0.8775 MB / 370.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.2296, allocations: 126.1 kB / 370.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/0.2298, allocations: 43.56 kB / 370.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 5.571e-06/0.2298, allocations: 0 / 370.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01673/0.2465, allocations: 5.889 MB / 376.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.2467, allocations: 60.41 kB / 376.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.25, allocations: 1.222 MB / 377.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.2502, allocations: 41.7 kB / 377.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3162/0.5664, allocations: 0.861 MB / 378.6 MB, free: 52.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/0.5673, allocations: 369 kB / 378.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/0.5679, allocations: 221.4 kB / 379.1 MB, free: 52.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.568, allocations: 356.4 kB / 379.5 MB, free: 51.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5695, allocations: 0.6128 MB / 380.1 MB, free: 51.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.5715, allocations: 0.9228 MB / 381 MB, free: 51.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.5748, allocations: 1.642 MB / 382.7 MB, free: 50.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.5749, allocations: 3.312 kB / 382.7 MB, free: 50.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005804/0.5807, allocations: 2.22 MB / 384.9 MB, free: 49.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.5808, allocations: 8.688 kB / 384.9 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.5808, allocations: 10.5 kB / 384.9 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.5824, allocations: 487.3 kB / 385.4 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5836, allocations: 271.4 kB / 385.6 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.5919, allocations: 7.029 MB / 392.7 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.5939, allocations: 84.55 kB / 392.8 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.594, allocations: 47.5 kB / 392.8 MB, free: 43.83 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.001843/0.5959, allocations: 0.5941 MB / 393.4 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/0.5964, allocations: 139.9 kB / 393.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.6006, allocations: 2.015 MB / 395.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6006, allocations: 10.31 kB / 395.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6006, allocations: 4.281 kB / 395.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.6006, allocations: 9.391 kB / 395.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007983/0.6086, allocations: 4.222 MB / 399.8 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6087, allocations: 3.938 kB / 399.8 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.6094, allocations: 182.1 kB / 400 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.6107, allocations: 0.5215 MB / 400.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.6108, allocations: 32.83 kB / 400.5 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007095/0.6179, allocations: 8.624 MB / 409.2 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.618, allocations: 4.062 kB / 409.2 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.6228, allocations: 2.951 MB / 412.1 MB, free: 29.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.6237, allocations: 339.3 kB / 412.4 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.6239, allocations: 35.98 kB / 412.5 MB, free: 29.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/0.6248, allocations: 71.92 kB / 412.5 MB, free: 28.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.6251, allocations: 96.75 kB / 412.6 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.6251, allocations: 35.98 kB / 412.7 MB, free: 28.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.6264, allocations: 0.8382 MB / 413.5 MB, free: 28 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6265, allocations: 0 / 413.5 MB, free: 28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001874/0.6283, allocations: 404 kB / 413.9 MB, free: 27.6 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.0004385/0.6288, allocations: 194.1 kB / 414.1 MB, free: 27.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004453/0.6332, allocations: 2.486 MB / 416.6 MB, free: 24.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.6333, allocations: 0 / 416.6 MB, free: 24.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.6353, allocations: 1.484 MB / 418.1 MB, free: 23.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.6375, allocations: 391.7 kB / 418.4 MB, free: 22.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/0.6446, allocations: 3.961 MB / 422.4 MB, free: 18.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.646, allocations: 1.634 MB / 424 MB, free: 17.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.6473, allocations: 295.8 kB / 424.3 MB, free: 16.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.6476, allocations: 95.42 kB / 424.4 MB, free: 16.86 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6476, allocations: 0 / 424.4 MB, free: 16.86 MB / 318.1 MB Notification: Performance of Templates: time 0.04971/0.6973, allocations: 22.27 MB / 446.7 MB, free: 10.58 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)