Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001485/0.001484, allocations: 106.5 kB / 17.06 MB, free: 6.016 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.001268/0.001268, allocations: 195 kB / 18 MB, free: 5.094 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.923/1.923, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.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.001619/0.00162, allocations: 51.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.2825/0.4201, allocations: 9.638 MB / 384.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007523/0.4277, allocations: 3.077 MB / 387.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.4305, allocations: 41.59 kB / 387.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.4333, allocations: 0.6316 MB / 387.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.4375, allocations: 0.7473 MB / 388.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.4389, allocations: 374.6 kB / 389 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006361/0.4453, allocations: 2.46 MB / 391.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.4481, allocations: 1.716 MB / 393.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.451, allocations: 1.078 MB / 394.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.4541, allocations: 1.31 MB / 395.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.4547, allocations: 279 kB / 395.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.456, allocations: 367.5 kB / 396.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008786/0.4569, allocations: 0.7795 MB / 397 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.4593, allocations: 1.266 MB / 398.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.4651, allocations: 3.649 MB / 401.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.4652, allocations: 0 / 401.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4652, allocations: 1.125 kB / 401.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001227/0.4653, allocations: 0 / 401.9 MB, free: 15.23 MB / 334.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.007762/0.4731, allocations: 2.573 MB / 404.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.4731, allocations: 13.2 kB / 404.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4743, allocations: 272.9 kB / 404.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.4772, allocations: 1.261 MB / 406 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4773, allocations: 141.1 kB / 406.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.4777, allocations: 197.8 kB / 406.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/0.4826, allocations: 2.423 MB / 408.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/0.4827, allocations: 3.5 kB / 408.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.4829, allocations: 80.69 kB / 408.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.4831, allocations: 99.08 kB / 408.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/0.4871, allocations: 1.96 MB / 410.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.5034, allocations: 7.758 MB / 418.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.5053, allocations: 1.247 MB / 419.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.5075, allocations: 0.9635 MB / 420.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.5078, allocations: 122 kB / 421 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.5078, allocations: 47.56 kB / 421 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.797e-06/0.5078, allocations: 0 / 421 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01503/0.5229, allocations: 5.855 MB / 426.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.523, allocations: 60.41 kB / 426.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.5256, allocations: 1.31 MB / 428.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.5257, allocations: 45.7 kB / 428.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.5265, allocations: 0.9237 MB / 429.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.5269, allocations: 390.4 kB / 429.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.5274, allocations: 247.5 kB / 429.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.5276, allocations: 361.9 kB / 430.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.5288, allocations: 0.6364 MB / 430.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.5303, allocations: 1 MB / 431.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.5328, allocations: 1.731 MB / 433.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.5328, allocations: 4 kB / 433.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004335/0.5372, allocations: 2.249 MB / 435.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.5372, allocations: 8 kB / 435.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.5372, allocations: 12.31 kB / 435.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.5386, allocations: 499.9 kB / 436.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.5398, allocations: 299.5 kB / 436.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.5475, allocations: 7.12 MB / 443.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.5493, allocations: 91.97 kB / 443.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.5495, allocations: 52 kB / 443.9 MB, free: 8.832 MB / 366.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.001438/0.551, allocations: 0.6033 MB / 444.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.5515, allocations: 150.2 kB / 444.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.5551, allocations: 1.968 MB / 446.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5552, allocations: 12 kB / 446.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5552, allocations: 4 kB / 446.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5552, allocations: 7.969 kB / 446.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007964/0.5632, allocations: 4.125 MB / 450.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5632, allocations: 4.281 kB / 450.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.5641, allocations: 191.8 kB / 450.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.5656, allocations: 0.5352 MB / 451.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5657, allocations: 31.98 kB / 451.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009589/0.5753, allocations: 8.754 MB / 460.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5754, allocations: 0 / 460.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005544/0.5809, allocations: 2.855 MB / 463.1 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.5824, allocations: 355.3 kB / 463.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.5828, allocations: 24 kB / 463.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.5836, allocations: 67.92 kB / 463.6 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.5839, allocations: 93.31 kB / 463.6 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.584, allocations: 35.98 kB / 463.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.5855, allocations: 0.8839 MB / 464.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5855, allocations: 0 / 464.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002506/0.588, allocations: 436 kB / 465 MB, free: 2.934 MB / 382.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.0005319/0.5886, allocations: 190.2 kB / 465.2 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.5927, allocations: 2.235 MB / 467.4 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.5927, allocations: 0 / 467.4 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.5952, allocations: 1.503 MB / 468.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.5978, allocations: 415.6 kB / 469.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.6063, allocations: 4.118 MB / 473.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.608, allocations: 1.646 MB / 475.1 MB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.6094, allocations: 324.7 kB / 475.4 MB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.6097, allocations: 99.42 kB / 475.5 MB, free: 8.168 MB / 398.1 MB Notification: Performance of SimCode: time 2.335e-06/0.6097, allocations: 0 / 475.5 MB, free: 8.168 MB / 398.1 MB Notification: Performance of Templates: time 0.05516/0.6649, allocations: 24.54 MB / 0.4883 GB, free: 15.58 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)