Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 98.19 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.009541/0.009541, allocations: 172 kB / 16.27 MB, free: 6.648 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.059/2.059, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004947/0.0004947, allocations: 12.33 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01236/0.3473, allocations: 9.062 MB / 336.1 MB, free: 10.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.3552, allocations: 3.005 MB / 339.1 MB, free: 7.277 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.3577, allocations: 35.88 kB / 339.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.3603, allocations: 0.5477 MB / 339.7 MB, free: 6.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.3643, allocations: 0.6759 MB / 340.4 MB, free: 6.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3655, allocations: 327.6 kB / 340.7 MB, free: 5.691 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004575/0.3701, allocations: 2.76 MB / 343.4 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.3726, allocations: 1.394 MB / 344.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.3748, allocations: 0.8362 MB / 345.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.3772, allocations: 1.132 MB / 346.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.3776, allocations: 128 kB / 346.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008311/0.3785, allocations: 227.7 kB / 347.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.3792, allocations: 0.5956 MB / 347.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.3809, allocations: 1.086 MB / 348.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004362/0.3852, allocations: 3.414 MB / 352.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3853, allocations: 4 kB / 352.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.3853, allocations: 0 / 352.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.3854, allocations: 0 / 352.3 MB, free: 10.03 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006309/0.3918, allocations: 2.182 MB / 354.4 MB, free: 7.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.814e-05/0.3919, allocations: 12.03 kB / 354.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3932, allocations: 258.1 kB / 354.7 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.3968, allocations: 1.26 MB / 356 MB, free: 6.211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.397, allocations: 144.2 kB / 356.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.3974, allocations: 192 kB / 356.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/0.4028, allocations: 2.422 MB / 358.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.4029, allocations: 7.906 kB / 358.7 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4032, allocations: 80 kB / 358.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.4033, allocations: 91.67 kB / 358.9 MB, free: 3.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.4072, allocations: 1.962 MB / 360.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.422, allocations: 7.902 MB / 368.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.4238, allocations: 1.234 MB / 370 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.4256, allocations: 0.9488 MB / 370.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.4259, allocations: 130 kB / 371.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.4259, allocations: 51.5 kB / 371.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.4259, allocations: 0 / 371.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01371/0.4396, allocations: 5.918 MB / 377 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4398, allocations: 60.41 kB / 377.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.4421, allocations: 1.309 MB / 378.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.4423, allocations: 45.7 kB / 378.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.443, allocations: 0.916 MB / 379.4 MB, free: 14.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.4434, allocations: 390.4 kB / 379.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4435, allocations: 121.6 kB / 379.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4437, allocations: 361.9 kB / 380.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.4448, allocations: 0.6403 MB / 380.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4461, allocations: 0.9964 MB / 381.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.4485, allocations: 1.743 MB / 383.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4486, allocations: 4 kB / 383.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004226/0.4528, allocations: 2.253 MB / 385.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4529, allocations: 8 kB / 385.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/0.4529, allocations: 12.31 kB / 385.9 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.4542, allocations: 0.4959 MB / 386.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.4554, allocations: 303.5 kB / 386.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007724/0.4631, allocations: 6.534 MB / 393.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4649, allocations: 87.81 kB / 393.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4651, allocations: 56 kB / 393.3 MB, free: 15.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.4666, allocations: 0.6067 MB / 393.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.467, allocations: 146.5 kB / 394.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.4708, allocations: 1.968 MB / 396.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4708, allocations: 11.94 kB / 396.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.4708, allocations: 8 kB / 396.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.4709, allocations: 7.969 kB / 396.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/0.4792, allocations: 4.136 MB / 400.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4792, allocations: 3.938 kB / 400.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.4801, allocations: 191.7 kB / 400.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/0.4819, allocations: 0.5393 MB / 400.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.482, allocations: 31.98 kB / 401 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.4923, allocations: 8.041 MB / 409 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4924, allocations: 4.031 kB / 409 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.498, allocations: 2.861 MB / 411.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.4991, allocations: 355.2 kB / 412.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.4993, allocations: 24 kB / 412.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.5001, allocations: 71.92 kB / 412.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/0.5005, allocations: 92.84 kB / 412.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.5006, allocations: 35.98 kB / 412.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.5025, allocations: 0.8917 MB / 413.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5025, allocations: 0 / 413.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002205/0.5047, allocations: 436 kB / 413.8 MB, free: 10.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.0004528/0.5052, allocations: 188 kB / 414 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00365/0.5089, allocations: 2.236 MB / 416.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.5089, allocations: 4.312 kB / 416.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.5112, allocations: 1.506 MB / 417.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.5139, allocations: 396.8 kB / 418.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/0.522, allocations: 5.132 MB / 423.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.5236, allocations: 1.646 MB / 424.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00138/0.525, allocations: 320.8 kB / 425.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.5253, allocations: 103.4 kB / 425.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5253, allocations: 0 / 425.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Templates: time 0.04449/0.5698, allocations: 22.48 MB / 447.8 MB, free: 8.043 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)