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.000968/0.0009681, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009374/0.009374, allocations: 169 kB / 16.26 MB, free: 6.652 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.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0008732/0.0008734, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3773, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01099/0.3884, allocations: 8.245 MB / 335.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007569/0.396, allocations: 2.814 MB / 338.1 MB, free: 8.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.3979, allocations: 39.81 kB / 338.1 MB, free: 8.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3996, allocations: 0.5297 MB / 338.7 MB, free: 7.699 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.4019, allocations: 0.6373 MB / 339.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.4028, allocations: 287.7 kB / 339.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.4067, allocations: 2.569 MB / 342.2 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.4086, allocations: 1.39 MB / 343.5 MB, free: 2.762 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4103, allocations: 0.7857 MB / 344.3 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.4123, allocations: 1.097 MB / 345.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000295/0.4126, allocations: 120 kB / 345.5 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.4133, allocations: 223.8 kB / 345.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007275/0.414, allocations: 0.5878 MB / 346.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.4155, allocations: 1.035 MB / 347.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.4198, allocations: 3.301 MB / 350.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.4199, allocations: 0 / 350.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4199, allocations: 0 / 350.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.349e-05/0.42, allocations: 4 kB / 350.7 MB, free: 11.58 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.005738/0.4257, allocations: 2.111 MB / 352.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/0.4258, allocations: 12.02 kB / 352.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.4267, allocations: 250.2 kB / 353.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.4289, allocations: 1.224 MB / 354.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.429, allocations: 135.9 kB / 354.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.4293, allocations: 184.1 kB / 354.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.4342, allocations: 2.378 MB / 357 MB, free: 5.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/0.4343, allocations: 11.91 kB / 357 MB, free: 5.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.4345, allocations: 75.94 kB / 357.1 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.4346, allocations: 91.5 kB / 357.2 MB, free: 4.984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.4384, allocations: 1.977 MB / 359.1 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.4507, allocations: 7.179 MB / 366.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.4528, allocations: 1.3 MB / 367.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.4545, allocations: 0.8736 MB / 368.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.4548, allocations: 122.1 kB / 368.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.4548, allocations: 47.56 kB / 368.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/0.4548, allocations: 0 / 368.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01407/0.4689, allocations: 6.002 MB / 374.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.469, allocations: 64.41 kB / 374.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.4711, allocations: 1.211 MB / 375.9 MB, free: 1.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.4712, allocations: 41.7 kB / 376 MB, free: 1.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008783/0.4721, allocations: 0.8652 MB / 376.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.4725, allocations: 366.7 kB / 377.2 MB, free: 480 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.4726, allocations: 105.7 kB / 377.3 MB, free: 368 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4728, allocations: 357.9 kB / 377.6 MB, free: 4 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4738, allocations: 0.6194 MB / 378.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4753, allocations: 0.9353 MB / 379.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.4778, allocations: 1.655 MB / 380.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4778, allocations: 8 kB / 380.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004414/0.4823, allocations: 2.239 MB / 383.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.4823, allocations: 8.25 kB / 383.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.4823, allocations: 16 kB / 383.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.4836, allocations: 475.9 kB / 383.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4846, allocations: 271.6 kB / 383.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.4917, allocations: 6.437 MB / 390.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4931, allocations: 87.91 kB / 390.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.4932, allocations: 44 kB / 390.4 MB, free: 2.512 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.00125/0.4944, allocations: 0.6066 MB / 391 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.4947, allocations: 134.3 kB / 391.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.4983, allocations: 2.032 MB / 393.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4983, allocations: 8 kB / 393.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4984, allocations: 8 kB / 393.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4984, allocations: 7.984 kB / 393.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.5051, allocations: 4.245 MB / 397.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5051, allocations: 4 kB / 397.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.5058, allocations: 191.6 kB / 397.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.5071, allocations: 0.5156 MB / 398.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/0.5072, allocations: 31.98 kB / 398.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007999/0.5152, allocations: 7.92 MB / 406.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5153, allocations: 4 kB / 406.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.52, allocations: 2.974 MB / 409.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.5207, allocations: 343.3 kB / 409.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.5209, allocations: 35.92 kB / 409.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.5217, allocations: 83.92 kB / 409.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.5219, allocations: 92.75 kB / 409.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.522, allocations: 32 kB / 409.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.5232, allocations: 0.8382 MB / 410.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5232, allocations: 4 kB / 410.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001473/0.5247, allocations: 408.1 kB / 410.9 MB, free: 13.14 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.0003751/0.5251, allocations: 187 kB / 411.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.5286, allocations: 2.167 MB / 413.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5286, allocations: 4 kB / 413.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.5309, allocations: 1.491 MB / 414.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.5333, allocations: 364.2 kB / 415.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/0.5425, allocations: 4.888 MB / 420 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.5442, allocations: 1.638 MB / 421.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.5454, allocations: 299.8 kB / 421.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.5457, allocations: 95.42 kB / 422 MB, free: 1.742 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5457, allocations: 0 / 422 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Templates: time 0.04231/0.588, allocations: 21.07 MB / 443.1 MB, free: 12.63 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)