Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002721/0.002721, allocations: 193.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001416/0.001416, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4407, allocations: 46.62 MB / 324.9 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01662/0.4574, allocations: 9.549 MB / 334.4 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.4684, allocations: 3.445 MB / 337.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.472, allocations: 39.81 kB / 337.9 MB, free: 7.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.4753, allocations: 0.5945 MB / 338.5 MB, free: 6.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.4801, allocations: 0.7423 MB / 339.2 MB, free: 5.691 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.4821, allocations: 403.5 kB / 339.6 MB, free: 5.297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.4878, allocations: 2.67 MB / 342.3 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/0.4909, allocations: 1.822 MB / 344.1 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.494, allocations: 1.176 MB / 345.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.4981, allocations: 1.596 MB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009151/0.499, allocations: 308 kB / 347.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.5008, allocations: 0.5581 MB / 347.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.502, allocations: 0.9856 MB / 348.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.5048, allocations: 1.481 MB / 350.2 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005985/0.5108, allocations: 4.229 MB / 354.4 MB, free: 6.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5108, allocations: 0 / 354.4 MB, free: 6.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5108, allocations: 3.938 kB / 354.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001382/0.511, allocations: 4 kB / 354.4 MB, free: 6.379 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008659/0.5196, allocations: 3.15 MB / 357.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.5197, allocations: 15.89 kB / 357.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5209, allocations: 329.2 kB / 357.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.5241, allocations: 1.607 MB / 359.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.5243, allocations: 151.9 kB / 359.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/0.5247, allocations: 203.9 kB / 359.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/0.5302, allocations: 2.694 MB / 362.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.511e-05/0.5303, allocations: 7.938 kB / 362.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.5306, allocations: 80 kB / 362.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.5307, allocations: 95.92 kB / 362.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004589/0.5353, allocations: 2.28 MB / 365 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.5512, allocations: 8.228 MB / 373.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.5543, allocations: 1.638 MB / 374.9 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.5563, allocations: 1.09 MB / 376 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.5566, allocations: 126.1 kB / 376.1 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5566, allocations: 47.5 kB / 376.2 MB, free: 156 kB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.747e-06/0.5567, allocations: 0 / 376.2 MB, free: 156 kB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01298/0.5696, allocations: 6.21 MB / 382.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.5697, allocations: 72.66 kB / 382.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.5727, allocations: 2.156 MB / 384.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5728, allocations: 49.7 kB / 384.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.5736, allocations: 1.1 MB / 385.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.574, allocations: 461.2 kB / 386.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.5744, allocations: 239.5 kB / 386.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5746, allocations: 361.9 kB / 386.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5758, allocations: 0.7574 MB / 387.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.5773, allocations: 1.013 MB / 388.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.5799, allocations: 1.865 MB / 390.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.58, allocations: 0 / 390.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004933/0.5849, allocations: 2.769 MB / 393.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5849, allocations: 4 kB / 393.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.585, allocations: 8 kB / 393.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.5869, allocations: 0.7889 MB / 394 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.588, allocations: 275.5 kB / 394.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.5995, allocations: 9.589 MB / 403.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.6011, allocations: 95.95 kB / 403.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.6013, allocations: 51.98 kB / 404 MB, free: 3.641 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001328/0.6026, allocations: 0.7394 MB / 404.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/0.603, allocations: 205.5 kB / 404.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/0.6074, allocations: 2.496 MB / 407.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.6074, allocations: 19.94 kB / 407.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6075, allocations: 4 kB / 407.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.6075, allocations: 11.91 kB / 407.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008457/0.6159, allocations: 4.94 MB / 412.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.616, allocations: 3.938 kB / 412.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009864/0.617, allocations: 223.8 kB / 412.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.6187, allocations: 0.651 MB / 413.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.6188, allocations: 39.97 kB / 413.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009381/0.6282, allocations: 8.692 MB / 422 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6283, allocations: 64 / 422 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/0.6345, allocations: 3.534 MB / 425.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.6355, allocations: 446.4 kB / 426 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.6358, allocations: 27.98 kB / 426 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/0.6367, allocations: 83.91 kB / 426.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.6371, allocations: 108.9 kB / 426.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/0.6372, allocations: 35.98 kB / 426.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002177/0.6394, allocations: 1.519 MB / 427.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6394, allocations: 0 / 427.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002057/0.6414, allocations: 0.5234 MB / 428.3 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.6426, allocations: 471.3 kB / 428.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005651/0.6483, allocations: 2.857 MB / 431.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6483, allocations: 4 kB / 431.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.6509, allocations: 1.593 MB / 433.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.6534, allocations: 450.1 kB / 433.6 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.6641, allocations: 6.137 MB / 439.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.6659, allocations: 1.943 MB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.6674, allocations: 387.7 kB / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6678, allocations: 127.4 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6678, allocations: 0 / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of Templates: time 0.2928/0.9606, allocations: 30.05 MB / 472.3 MB, free: 103.9 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)