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.01215/0.01215, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.002242/0.002243, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.932/1.932, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001475/0.001475, allocations: 50.33 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1401, allocations: 46.62 MB / 373.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01311/0.1532, allocations: 8.789 MB / 382 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008029/0.1613, allocations: 2.887 MB / 384.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.1638, allocations: 39.81 kB / 384.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.1668, allocations: 0.5978 MB / 385.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.1711, allocations: 0.7027 MB / 386.2 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1724, allocations: 331.5 kB / 386.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004962/0.1774, allocations: 2.237 MB / 388.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.1802, allocations: 1.71 MB / 390.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.1826, allocations: 1.016 MB / 391.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.1848, allocations: 1.273 MB / 392.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004556/0.1852, allocations: 268 kB / 393 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008721/0.1861, allocations: 363.8 kB / 393.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009367/0.1871, allocations: 0.7558 MB / 394.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.1889, allocations: 1.209 MB / 395.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004366/0.1933, allocations: 3.52 MB / 398.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1934, allocations: 7.984 kB / 398.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1934, allocations: 0 / 398.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-05/0.1935, allocations: 0 / 398.9 MB, free: 7.578 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.006119/0.1996, allocations: 2.477 MB / 401.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.1997, allocations: 19.83 kB / 401.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.2004, allocations: 250.2 kB / 401.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.203, allocations: 1.231 MB / 402.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.2032, allocations: 131.9 kB / 403 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.2035, allocations: 184 kB / 403.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/0.2085, allocations: 2.374 MB / 405.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.264e-05/0.2086, allocations: 11.91 kB / 405.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.2088, allocations: 68 kB / 405.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.2089, allocations: 95.5 kB / 405.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/0.2132, allocations: 1.954 MB / 407.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.2267, allocations: 7.058 MB / 414.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.2288, allocations: 1.276 MB / 416 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.2304, allocations: 0.8542 MB / 416.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.2307, allocations: 126.1 kB / 417 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.2308, allocations: 43.5 kB / 417 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 4.639e-06/0.2308, allocations: 0 / 417 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01453/0.2453, allocations: 5.901 MB / 422.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.2454, allocations: 64.41 kB / 423 MB, free: 14.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.2476, allocations: 1.211 MB / 424.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.2477, allocations: 45.7 kB / 424.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/0.2485, allocations: 0.869 MB / 425.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.2489, allocations: 366.7 kB / 425.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.2493, allocations: 222.8 kB / 425.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.2496, allocations: 353.9 kB / 426 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2507, allocations: 0.6154 MB / 426.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.2521, allocations: 0.9273 MB / 427.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.2549, allocations: 1.644 MB / 429.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.255, allocations: 0 / 429.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004304/0.2593, allocations: 2.215 MB / 431.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.2593, allocations: 16.23 kB / 431.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.2594, allocations: 12 kB / 431.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.2606, allocations: 471.9 kB / 431.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.2615, allocations: 267.6 kB / 432.2 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.2697, allocations: 7.021 MB / 439.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.2712, allocations: 79.91 kB / 439.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.2714, allocations: 52 kB / 439.3 MB, free: 13.77 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.001321/0.2727, allocations: 0.5989 MB / 439.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.2731, allocations: 134.3 kB / 440 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.2772, allocations: 2.027 MB / 442.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.2772, allocations: 8 kB / 442.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.2772, allocations: 7.984 kB / 442.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.2773, allocations: 11.92 kB / 442.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/0.2858, allocations: 4.205 MB / 446.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.2859, allocations: 8 kB / 446.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.2868, allocations: 180.3 kB / 446.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.2884, allocations: 0.5235 MB / 447 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.2885, allocations: 31.98 kB / 447 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3456/0.6341, allocations: 8.599 MB / 455.6 MB, free: 68.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.6342, allocations: 9.938 kB / 455.6 MB, free: 68.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006871/0.6411, allocations: 2.945 MB / 458.6 MB, free: 67.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/0.643, allocations: 343.8 kB / 458.9 MB, free: 67.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.6434, allocations: 30.7 kB / 459 MB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.6445, allocations: 72.09 kB / 459 MB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/0.645, allocations: 92.83 kB / 459.1 MB, free: 67.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6452, allocations: 37.2 kB / 459.2 MB, free: 67.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002259/0.6474, allocations: 0.8387 MB / 460 MB, free: 66.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6475, allocations: 1.094 kB / 460 MB, free: 66.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003262/0.6507, allocations: 403.2 kB / 460.4 MB, free: 66.68 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.000749/0.6515, allocations: 193.9 kB / 460.6 MB, free: 66.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005091/0.6566, allocations: 2.163 MB / 462.7 MB, free: 65.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.6567, allocations: 1.406 kB / 462.7 MB, free: 65.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003349/0.66, allocations: 1.475 MB / 464.2 MB, free: 64.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.6626, allocations: 386.6 kB / 464.6 MB, free: 64.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.6714, allocations: 3.922 MB / 468.5 MB, free: 62.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.6728, allocations: 1.634 MB / 470.2 MB, free: 61.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.6739, allocations: 294.3 kB / 470.4 MB, free: 61.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.6742, allocations: 98.05 kB / 470.5 MB, free: 61.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6742, allocations: 0 / 470.5 MB, free: 61.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03943/0.7136, allocations: 23.06 MB / 493.6 MB, free: 42.64 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)