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.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 128 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.001617/0.001617, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.675/1.675, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001306/0.001306, allocations: 60.39 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 46.63 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01363/0.3064, allocations: 8.787 MB / 334.1 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007441/0.3139, allocations: 2.883 MB / 337 MB, free: 8.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.3162, allocations: 39.81 kB / 337 MB, free: 8.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.3182, allocations: 0.5991 MB / 337.6 MB, free: 7.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3212, allocations: 0.6988 MB / 338.3 MB, free: 6.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.3221, allocations: 335.5 kB / 338.7 MB, free: 6.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.3253, allocations: 2.225 MB / 340.9 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.3276, allocations: 1.706 MB / 342.6 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.3294, allocations: 1.008 MB / 343.6 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3311, allocations: 1.277 MB / 344.9 MB, free: 356 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.3314, allocations: 272 kB / 345.1 MB, free: 84 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.3322, allocations: 359.8 kB / 345.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.3329, allocations: 0.7519 MB / 346.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.3343, allocations: 1.213 MB / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.3386, allocations: 3.489 MB / 350.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3387, allocations: 0 / 350.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3387, allocations: 0 / 350.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.606e-05/0.3388, allocations: 0 / 350.9 MB, free: 10.26 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.005473/0.3442, allocations: 2.473 MB / 353.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3443, allocations: 19.83 kB / 353.4 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.345, allocations: 250.2 kB / 353.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.347, allocations: 1.224 MB / 354.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.3471, allocations: 139.9 kB / 355 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.3474, allocations: 180 kB / 355.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/0.3513, allocations: 2.378 MB / 357.6 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.3513, allocations: 0 / 357.6 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.3515, allocations: 75.98 kB / 357.7 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.3516, allocations: 91.5 kB / 357.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.3551, allocations: 1.962 MB / 359.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.3669, allocations: 7.14 MB / 366.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.369, allocations: 1.276 MB / 368.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.3705, allocations: 0.8737 MB / 369 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.3708, allocations: 122.1 kB / 369.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.3709, allocations: 47.55 kB / 369.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.496e-06/0.3709, allocations: 0 / 369.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01369/0.3846, allocations: 5.897 MB / 375.1 MB, free: 1.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.3847, allocations: 64.41 kB / 375.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.3869, allocations: 1.211 MB / 376.3 MB, free: 268 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.387, allocations: 41.7 kB / 376.4 MB, free: 220 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.3878, allocations: 0.8613 MB / 377.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.3881, allocations: 370.7 kB / 377.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.3885, allocations: 222.8 kB / 377.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3887, allocations: 357.8 kB / 378.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3897, allocations: 0.6155 MB / 378.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.391, allocations: 0.9234 MB / 379.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.3933, allocations: 1.644 MB / 381.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3933, allocations: 0 / 381.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004163/0.3975, allocations: 2.223 MB / 383.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.3975, allocations: 8 kB / 383.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.3976, allocations: 12 kB / 383.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3987, allocations: 488.2 kB / 384.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009509/0.3996, allocations: 263.6 kB / 384.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.4075, allocations: 7.025 MB / 391.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4094, allocations: 83.81 kB / 391.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4095, allocations: 52 kB / 391.5 MB, free: 340 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.00177/0.4113, allocations: 0.5912 MB / 392.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.4117, allocations: 134.4 kB / 392.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.4156, allocations: 2.024 MB / 394.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4156, allocations: 8 kB / 394.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.4157, allocations: 4 kB / 394.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.4157, allocations: 11.97 kB / 394.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007553/0.4232, allocations: 4.217 MB / 398.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.4233, allocations: 4 kB / 398.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.424, allocations: 176.3 kB / 398.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.4255, allocations: 0.5309 MB / 399.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.4256, allocations: 31.98 kB / 399.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.4341, allocations: 8.608 MB / 407.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.4341, allocations: 11.92 kB / 407.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/0.4392, allocations: 2.955 MB / 410.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008565/0.4401, allocations: 347.3 kB / 411.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.4403, allocations: 31.94 kB / 411.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.4411, allocations: 67.92 kB / 411.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.4414, allocations: 104.7 kB / 411.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.4415, allocations: 31.98 kB / 411.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001406/0.4429, allocations: 0.8343 MB / 412.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4429, allocations: 0 / 412.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001686/0.4446, allocations: 412 kB / 412.6 MB, free: 10.33 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.0004481/0.445, allocations: 186.9 kB / 412.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.4495, allocations: 2.487 MB / 415.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4496, allocations: 4 kB / 415.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.4519, allocations: 1.475 MB / 416.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.4541, allocations: 384.3 kB / 417.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.4611, allocations: 3.969 MB / 421.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.4627, allocations: 1.634 MB / 422.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.4639, allocations: 299.8 kB / 423 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.4642, allocations: 95.42 kB / 423.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.405e-06/0.4642, allocations: 4 kB / 423.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.04634/0.5106, allocations: 22.26 MB / 445.4 MB, free: 9.227 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)