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.001377/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001806/0.001806, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.774/1.774, allocations: 205.1 MB / 222 MB, free: 4.773 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.001824/0.001824, allocations: 51.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3782, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01271/0.391, allocations: 8.744 MB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009438/0.4005, allocations: 2.86 MB / 336.3 MB, free: 8.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.4037, allocations: 31.88 kB / 336.3 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.4061, allocations: 0.5297 MB / 336.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.4097, allocations: 0.6372 MB / 337.5 MB, free: 7.297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.4107, allocations: 291.7 kB / 337.8 MB, free: 7.012 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.4149, allocations: 2.565 MB / 340.3 MB, free: 4.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.4173, allocations: 1.417 MB / 341.8 MB, free: 2.973 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.4196, allocations: 0.8794 MB / 342.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.4217, allocations: 1.241 MB / 343.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.4221, allocations: 168 kB / 344 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.4229, allocations: 271.8 kB / 344.3 MB, free: 424 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.4237, allocations: 0.6504 MB / 345 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.4251, allocations: 1.104 MB / 346.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.4282, allocations: 3.399 MB / 349.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.4283, allocations: 0 / 349.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4283, allocations: 0 / 349.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.4283, allocations: 0 / 349.5 MB, free: 11.24 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.00517/0.4335, allocations: 2.485 MB / 351.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.4336, allocations: 8.031 kB / 352 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.4343, allocations: 254.1 kB / 352.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.4363, allocations: 1.224 MB / 353.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4364, allocations: 131.9 kB / 353.6 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.4367, allocations: 192 kB / 353.7 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.4409, allocations: 2.363 MB / 356.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.441, allocations: 4 kB / 356.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.4411, allocations: 75.98 kB / 356.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.4413, allocations: 95.5 kB / 356.3 MB, free: 4.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.4446, allocations: 1.962 MB / 358.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.456, allocations: 7.148 MB / 365.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.4581, allocations: 1.272 MB / 366.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.4596, allocations: 0.8698 MB / 367.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.4599, allocations: 122.1 kB / 367.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.46, allocations: 51.5 kB / 367.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.088e-06/0.46, allocations: 0 / 367.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01369/0.4737, allocations: 5.893 MB / 373.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.4738, allocations: 64.34 kB / 373.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.476, allocations: 1.215 MB / 374.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.4761, allocations: 41.7 kB / 374.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/0.4768, allocations: 0.8691 MB / 375.8 MB, free: 316 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.4772, allocations: 362.9 kB / 376.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.4776, allocations: 222.8 kB / 376.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4778, allocations: 357.9 kB / 376.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4789, allocations: 0.6116 MB / 377.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.4801, allocations: 0.9196 MB / 378.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.4825, allocations: 1.644 MB / 379.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4825, allocations: 4 kB / 379.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004/0.4865, allocations: 2.219 MB / 382.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.4866, allocations: 8 kB / 382.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.4866, allocations: 8 kB / 382.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.4878, allocations: 480.1 kB / 382.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.4888, allocations: 271.6 kB / 382.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/0.4955, allocations: 6.429 MB / 389.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.4968, allocations: 75.92 kB / 389.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.4969, allocations: 51.98 kB / 389.4 MB, free: 1.945 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.001274/0.4982, allocations: 0.5995 MB / 390 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.4985, allocations: 134.3 kB / 390.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.5024, allocations: 2.016 MB / 392.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5024, allocations: 12 kB / 392.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5024, allocations: 4 kB / 392.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5025, allocations: 3.984 kB / 392.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0076/0.5101, allocations: 4.237 MB / 396.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5101, allocations: 4 kB / 396.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.5108, allocations: 184.2 kB / 396.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.5123, allocations: 0.5192 MB / 397.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.5124, allocations: 35.98 kB / 397.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008701/0.5211, allocations: 7.904 MB / 405 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/0.5212, allocations: 7.938 kB / 405.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00621/0.5274, allocations: 2.947 MB / 408 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.5286, allocations: 343.3 kB / 408.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.5288, allocations: 31.98 kB / 408.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.5296, allocations: 75.92 kB / 408.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.5299, allocations: 88.75 kB / 408.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.53, allocations: 44 kB / 408.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.5314, allocations: 0.8343 MB / 409.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.5314, allocations: 3.938 kB / 409.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001934/0.5334, allocations: 412.1 kB / 409.8 MB, free: 12.66 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.0006627/0.5341, allocations: 191 kB / 410 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004473/0.5385, allocations: 2.15 MB / 412.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5386, allocations: 0 / 412.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003024/0.5416, allocations: 1.472 MB / 413.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.544, allocations: 368.1 kB / 414 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/0.5527, allocations: 4.757 MB / 418.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.5547, allocations: 1.634 MB / 420.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001231/0.556, allocations: 295.8 kB / 420.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.5563, allocations: 99.41 kB / 420.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of SimCode: time 1.994e-06/0.5563, allocations: 0 / 420.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Templates: time 0.04221/0.5985, allocations: 21.39 MB / 442.1 MB, free: 12 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)