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.001421, allocations: 111.8 kB / 16.63 MB, free: 6.812 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.001545/0.001545, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.861/1.861, allocations: 205.1 MB / 223.4 MB, free: 12.37 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.001256/0.001257, allocations: 51.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01475/0.1665, allocations: 8.749 MB / 334.9 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.1752, allocations: 2.84 MB / 337.7 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.1774, allocations: 35.81 kB / 337.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.1798, allocations: 0.5441 MB / 338.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.1835, allocations: 0.6411 MB / 338.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1847, allocations: 291.7 kB / 339.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004355/0.189, allocations: 2.222 MB / 341.5 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.192, allocations: 1.706 MB / 343.2 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.1948, allocations: 1.004 MB / 344.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.1977, allocations: 1.32 MB / 345.5 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.1984, allocations: 268 kB / 345.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1995, allocations: 363.8 kB / 346.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009281/0.2004, allocations: 0.7519 MB / 346.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.2026, allocations: 1.21 MB / 348.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.2076, allocations: 3.493 MB / 351.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.2077, allocations: 0 / 351.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2077, allocations: 0 / 351.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.2079, allocations: 0 / 351.6 MB, free: 11.21 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.008351/0.2163, allocations: 2.485 MB / 354 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.2163, allocations: 11.89 kB / 354.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008048/0.2172, allocations: 254.3 kB / 354.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.2196, allocations: 1.216 MB / 355.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.2198, allocations: 139.9 kB / 355.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/0.2201, allocations: 184 kB / 355.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005354/0.2255, allocations: 2.367 MB / 358.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.087e-05/0.2256, allocations: 4 kB / 358.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.2258, allocations: 75.98 kB / 358.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.2259, allocations: 91.5 kB / 358.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.2298, allocations: 1.958 MB / 360.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.2439, allocations: 7.156 MB / 367.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.2462, allocations: 1.276 MB / 368.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2478, allocations: 0.8698 MB / 369.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.2481, allocations: 122.1 kB / 369.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.2482, allocations: 43.56 kB / 369.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 5.26e-06/0.2482, allocations: 0 / 369.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01442/0.2626, allocations: 5.897 MB / 375.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.2627, allocations: 60.41 kB / 375.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.2651, allocations: 1.215 MB / 377 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.2653, allocations: 41.7 kB / 377 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007448/0.2661, allocations: 0.8729 MB / 377.9 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.3006/0.5667, allocations: 355.4 kB / 378.2 MB, free: 52.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/0.5673, allocations: 222.1 kB / 378.4 MB, free: 52.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5675, allocations: 360.9 kB / 378.8 MB, free: 51.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.5687, allocations: 0.6098 MB / 379.4 MB, free: 51.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.5703, allocations: 0.9239 MB / 380.3 MB, free: 51.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.5734, allocations: 1.639 MB / 382 MB, free: 50.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5734, allocations: 2.312 kB / 382 MB, free: 50.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005033/0.5785, allocations: 2.226 MB / 384.2 MB, free: 49.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.5786, allocations: 8.656 kB / 384.2 MB, free: 49.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/0.5786, allocations: 10.56 kB / 384.2 MB, free: 49.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.58, allocations: 483.1 kB / 384.7 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5812, allocations: 271.5 kB / 384.9 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/0.5889, allocations: 7.015 MB / 392 MB, free: 44.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.5906, allocations: 83.2 kB / 392 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5907, allocations: 47.55 kB / 392.1 MB, free: 44.04 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.001927/0.5926, allocations: 0.5963 MB / 392.7 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.5931, allocations: 137.5 kB / 392.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.5971, allocations: 2.019 MB / 394.8 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.5972, allocations: 13.33 kB / 394.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.5972, allocations: 4.438 kB / 394.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.5972, allocations: 5.531 kB / 394.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/0.6043, allocations: 4.236 MB / 399.1 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.6044, allocations: 3.938 kB / 399.1 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.6051, allocations: 180.6 kB / 399.3 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.6063, allocations: 0.5232 MB / 399.8 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.6064, allocations: 35.67 kB / 399.8 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006772/0.6131, allocations: 8.61 MB / 408.4 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6132, allocations: 4 kB / 408.5 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.6175, allocations: 2.954 MB / 411.4 MB, free: 30.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009293/0.6184, allocations: 343.3 kB / 411.7 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.6186, allocations: 32.92 kB / 411.8 MB, free: 29.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.6194, allocations: 75.8 kB / 411.8 MB, free: 29.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.6197, allocations: 96.75 kB / 411.9 MB, free: 29.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.6198, allocations: 35.98 kB / 412 MB, free: 29.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.6209, allocations: 0.8343 MB / 412.8 MB, free: 28.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.621, allocations: 0 / 412.8 MB, free: 28.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001949/0.6229, allocations: 404 kB / 413.2 MB, free: 28.2 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.0005574/0.6235, allocations: 186.1 kB / 413.4 MB, free: 28.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00487/0.6284, allocations: 2.484 MB / 415.9 MB, free: 25.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.6284, allocations: 4 kB / 415.9 MB, free: 25.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.6306, allocations: 1.487 MB / 417.4 MB, free: 23.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.6329, allocations: 385.3 kB / 417.7 MB, free: 23.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.6396, allocations: 4.738 MB / 422.5 MB, free: 18.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.6407, allocations: 1.645 MB / 424.1 MB, free: 17.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009228/0.6416, allocations: 291.8 kB / 424.4 MB, free: 16.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.6419, allocations: 99.42 kB / 424.5 MB, free: 16.69 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6419, allocations: 0 / 424.5 MB, free: 16.69 MB / 318.1 MB Notification: Performance of Templates: time 0.03925/0.6811, allocations: 22.23 MB / 446.7 MB, free: 10.46 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)