Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.995/1.995, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001201/0.001201, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2979, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01294/0.3109, allocations: 8.787 MB / 334.1 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007837/0.3188, allocations: 2.882 MB / 337 MB, free: 8.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.3213, allocations: 39.81 kB / 337 MB, free: 8.164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.324, allocations: 0.603 MB / 337.6 MB, free: 7.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.3282, allocations: 0.6988 MB / 338.3 MB, free: 6.855 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3295, allocations: 331.5 kB / 338.7 MB, free: 6.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003961/0.3335, allocations: 2.222 MB / 340.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.336, allocations: 1.71 MB / 342.6 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3381, allocations: 1.012 MB / 343.6 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.3409, allocations: 1.281 MB / 344.9 MB, free: 248 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.3419, allocations: 268 kB / 345.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.3434, allocations: 363.8 kB / 345.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.3445, allocations: 0.7519 MB / 346.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.3471, allocations: 1.209 MB / 347.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.3519, allocations: 3.489 MB / 350.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3519, allocations: 4 kB / 351 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3519, allocations: 0 / 351 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.3521, allocations: 0 / 351 MB, free: 10.15 MB / 286.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.007885/0.36, allocations: 2.473 MB / 353.4 MB, free: 7.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.3601, allocations: 19.83 kB / 353.4 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/0.3611, allocations: 254.1 kB / 353.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.3637, allocations: 1.216 MB / 354.9 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.3638, allocations: 131.9 kB / 355 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.3642, allocations: 184 kB / 355.2 MB, free: 5.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.3694, allocations: 2.378 MB / 357.6 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/0.3695, allocations: 0 / 357.6 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.3697, allocations: 75.98 kB / 357.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3698, allocations: 91.5 kB / 357.8 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.3739, allocations: 1.966 MB / 359.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.3891, allocations: 7.144 MB / 366.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.3914, allocations: 1.276 MB / 368.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.3931, allocations: 0.8698 MB / 369 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.3934, allocations: 126 kB / 369.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.3934, allocations: 39.56 kB / 369.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.677e-06/0.3935, allocations: 4 kB / 369.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01527/0.4087, allocations: 5.893 MB / 375.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4089, allocations: 68.34 kB / 375.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.4118, allocations: 1.211 MB / 376.4 MB, free: 164 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.4121, allocations: 41.7 kB / 376.4 MB, free: 116 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/0.413, allocations: 0.8574 MB / 377.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/0.4136, allocations: 370.7 kB / 377.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/0.4143, allocations: 226.8 kB / 377.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.4145, allocations: 353.9 kB / 378.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.4158, allocations: 0.6116 MB / 378.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.4172, allocations: 0.9234 MB / 379.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.4199, allocations: 1.647 MB / 381.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4199, allocations: 0 / 381.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004942/0.4249, allocations: 2.219 MB / 383.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.4249, allocations: 15.98 kB / 383.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.425, allocations: 11.94 kB / 383.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.4264, allocations: 484.1 kB / 384.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.4277, allocations: 267.6 kB / 384.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.438, allocations: 7.022 MB / 391.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.4401, allocations: 83.81 kB / 391.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003978/0.4406, allocations: 52 kB / 391.5 MB, free: 240 kB / 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.002307/0.4429, allocations: 0.595 MB / 392.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/0.4438, allocations: 130.4 kB / 392.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/0.4487, allocations: 2.027 MB / 394.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.4487, allocations: 8 kB / 394.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/0.4488, allocations: 7.984 kB / 394.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.4488, allocations: 7.984 kB / 394.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.4594, allocations: 4.214 MB / 398.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.4595, allocations: 4 kB / 398.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.4603, allocations: 175.8 kB / 398.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.4619, allocations: 0.5314 MB / 399.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.462, allocations: 31.98 kB / 399.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009294/0.4714, allocations: 8.608 MB / 407.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.4714, allocations: 11.94 kB / 407.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.4771, allocations: 2.959 MB / 410.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4781, allocations: 347.3 kB / 411.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.4786, allocations: 31.94 kB / 411.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.4797, allocations: 71.91 kB / 411.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.48, allocations: 96.77 kB / 411.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.4801, allocations: 31.98 kB / 411.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.4819, allocations: 0.8343 MB / 412.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4819, allocations: 0 / 412.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002217/0.4841, allocations: 412 kB / 412.6 MB, free: 10.23 MB / 350.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.0005399/0.4847, allocations: 186.9 kB / 412.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005145/0.4898, allocations: 2.491 MB / 415.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.4899, allocations: 0 / 415.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.4928, allocations: 1.479 MB / 416.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.4963, allocations: 380.6 kB / 417.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/0.506, allocations: 3.965 MB / 421.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.5082, allocations: 1.634 MB / 422.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00155/0.5098, allocations: 295.8 kB / 423 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.5102, allocations: 95.42 kB / 423.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.944e-06/0.5102, allocations: 0 / 423.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.05033/0.5605, allocations: 22.27 MB / 445.4 MB, free: 9.133 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)