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.008914/0.008914, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001737/0.001737, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.901/1.901, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.00163/0.00163, allocations: 47.94 kB / 326.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1611, allocations: 46.61 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.304/0.4652, allocations: 9.638 MB / 382.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008187/0.4734, allocations: 3.078 MB / 385.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.4762, allocations: 42.38 kB / 385.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.4788, allocations: 0.6664 MB / 386.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.4829, allocations: 0.7845 MB / 387.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4843, allocations: 375 kB / 387.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.4889, allocations: 2.456 MB / 390.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.492, allocations: 1.724 MB / 391.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.4949, allocations: 1.079 MB / 393 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00387/0.4988, allocations: 1.31 MB / 394.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.5003, allocations: 283.9 kB / 394.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.5035, allocations: 366.1 kB / 395 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.5054, allocations: 0.7745 MB / 395.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003271/0.5087, allocations: 1.267 MB / 397 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007144/0.5158, allocations: 3.645 MB / 400.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5159, allocations: 0 / 400.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.682e-06/0.5159, allocations: 0 / 400.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.5161, allocations: 5.312 kB / 400.6 MB, free: 15.15 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.008473/0.5246, allocations: 2.576 MB / 403.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.5246, allocations: 13.27 kB / 403.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5258, allocations: 265.2 kB / 403.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.5287, allocations: 1.264 MB / 404.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.5288, allocations: 149.2 kB / 404.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.5292, allocations: 193.6 kB / 405.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005179/0.5344, allocations: 2.423 MB / 407.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.5345, allocations: 4 kB / 407.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.5347, allocations: 77.44 kB / 407.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.5348, allocations: 92.11 kB / 407.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.539, allocations: 1.959 MB / 409.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.5548, allocations: 7.766 MB / 417.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.5567, allocations: 1.23 MB / 418.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.5587, allocations: 0.9722 MB / 419.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.559, allocations: 118.1 kB / 419.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.5591, allocations: 43.56 kB / 419.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.977e-06/0.5591, allocations: 0 / 419.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01447/0.5735, allocations: 5.859 MB / 425.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.5737, allocations: 64.39 kB / 425.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.5766, allocations: 1.302 MB / 427 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.5768, allocations: 49.64 kB / 427 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/0.5777, allocations: 0.9237 MB / 428 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.5781, allocations: 390.4 kB / 428.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/0.5787, allocations: 247.5 kB / 428.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5789, allocations: 357.9 kB / 428.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5801, allocations: 0.6369 MB / 429.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.5816, allocations: 1.004 MB / 430.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.5845, allocations: 1.727 MB / 432.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.5845, allocations: 7.984 kB / 432.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004621/0.5892, allocations: 2.249 MB / 434.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.5892, allocations: 8 kB / 434.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.5893, allocations: 12.56 kB / 434.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.5907, allocations: 496.7 kB / 435.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5918, allocations: 307.5 kB / 435.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009134/0.601, allocations: 7.12 MB / 442.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.6029, allocations: 87.91 kB / 442.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.6032, allocations: 52 kB / 442.6 MB, free: 8.734 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.001693/0.6049, allocations: 0.6112 MB / 443.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/0.6055, allocations: 142.2 kB / 443.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/0.6099, allocations: 1.976 MB / 445.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.6099, allocations: 12 kB / 445.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.6099, allocations: 4 kB / 445.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.6099, allocations: 3.984 kB / 445.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009121/0.6191, allocations: 4.128 MB / 449.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6191, allocations: 4 kB / 449.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.6199, allocations: 184 kB / 449.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.6216, allocations: 0.5309 MB / 450.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6217, allocations: 35.97 kB / 450.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009718/0.6315, allocations: 8.768 MB / 459 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6315, allocations: 0 / 459 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/0.6367, allocations: 2.851 MB / 461.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.6379, allocations: 351.3 kB / 462.2 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005428/0.6385, allocations: 28 kB / 462.2 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6396, allocations: 71.92 kB / 462.3 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.6399, allocations: 88.84 kB / 462.4 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.64, allocations: 35.98 kB / 462.4 MB, free: 4.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001988/0.642, allocations: 0.8839 MB / 463.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6421, allocations: 0 / 463.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002455/0.6445, allocations: 444 kB / 463.7 MB, free: 2.82 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.0005139/0.645, allocations: 187.8 kB / 463.9 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.6491, allocations: 2.232 MB / 466.2 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6491, allocations: 0 / 466.2 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.6517, allocations: 1.498 MB / 467.7 MB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/0.6547, allocations: 413.4 kB / 468.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6648, allocations: 4.11 MB / 472.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002899/0.6678, allocations: 1.646 MB / 473.8 MB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001803/0.6696, allocations: 320.8 kB / 474.1 MB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.6701, allocations: 99.42 kB / 474.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6702, allocations: 0 / 474.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of Templates: time 0.05999/0.7302, allocations: 24.1 MB / 498.3 MB, free: 15.93 MB / 430.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)