Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001156, 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.009662/0.009662, allocations: 170 kB / 16.27 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 2.132/2.132, 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.0007298/0.00073, allocations: 8 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3909, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01456/0.4056, allocations: 9.167 MB / 336.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4161, allocations: 3.077 MB / 339.3 MB, free: 7.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.4202, allocations: 39.81 kB / 339.3 MB, free: 7.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.4241, allocations: 0.5827 MB / 339.9 MB, free: 6.461 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.4297, allocations: 0.7538 MB / 340.7 MB, free: 5.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.4316, allocations: 331.7 kB / 341 MB, free: 5.379 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007105/0.4388, allocations: 3.522 MB / 344.5 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004608/0.4434, allocations: 1.993 MB / 346.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.4463, allocations: 1.035 MB / 347.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.4498, allocations: 1.443 MB / 349 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.451, allocations: 156 kB / 349.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.453, allocations: 255.8 kB / 349.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.4549, allocations: 0.7591 MB / 350.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.4594, allocations: 1.358 MB / 351.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008439/0.4679, allocations: 4.387 MB / 355.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4679, allocations: 0 / 355.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4679, allocations: 7.938 kB / 355.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.4682, allocations: 0 / 355.9 MB, free: 6.348 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01037/0.4785, allocations: 2.73 MB / 358.6 MB, free: 3.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.4786, allocations: 11.97 kB / 358.6 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.4816, allocations: 325.3 kB / 359 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.4863, allocations: 1.631 MB / 360.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.4866, allocations: 172.9 kB / 360.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000736/0.4873, allocations: 239.8 kB / 361 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008111/0.4954, allocations: 3.192 MB / 364.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-05/0.4956, allocations: 15.84 kB / 364.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.4959, allocations: 92 kB / 364.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.4961, allocations: 100.4 kB / 364.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006408/0.5025, allocations: 2.766 MB / 367.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.5225, allocations: 9.953 MB / 377.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.5256, allocations: 2.098 MB / 379.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.5277, allocations: 1.21 MB / 380.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.528, allocations: 126.9 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.528, allocations: 43.56 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 2.986e-06/0.528, allocations: 0 / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01987/0.5479, allocations: 8.118 MB / 388.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.548, allocations: 64.72 kB / 388.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.551, allocations: 1.672 MB / 390.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.5513, allocations: 49.7 kB / 390.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008788/0.5521, allocations: 1.097 MB / 391.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.5528, allocations: 488.9 kB / 392.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.553, allocations: 137.6 kB / 392.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5532, allocations: 305.1 kB / 392.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.5549, allocations: 0.9251 MB / 393.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.5568, allocations: 1.275 MB / 394.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.5603, allocations: 2.274 MB / 397 MB, free: 12.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.5604, allocations: 4 kB / 397 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006489/0.5669, allocations: 3.068 MB / 400 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.567, allocations: 8 kB / 400 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/0.567, allocations: 12 kB / 400.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.5693, allocations: 0.8404 MB / 400.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5706, allocations: 311.5 kB / 401.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.5827, allocations: 9.09 MB / 410.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.5849, allocations: 108 kB / 410.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5851, allocations: 60 kB / 410.4 MB, free: 14.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002187/0.5873, allocations: 0.8096 MB / 411.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/0.5879, allocations: 181.8 kB / 411.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.5938, allocations: 2.869 MB / 414.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.5939, allocations: 12 kB / 414.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-05/0.5939, allocations: 8.188 kB / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.594, allocations: 7.984 kB / 414.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.6063, allocations: 5.71 MB / 420 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.6064, allocations: 4 kB / 420 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6074, allocations: 195.7 kB / 420.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/0.6104, allocations: 0.9019 MB / 421.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.6106, allocations: 35.98 kB / 421.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.6247, allocations: 10.58 MB / 431.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6248, allocations: 0 / 431.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008197/0.633, allocations: 4.183 MB / 435.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.635, allocations: 458.8 kB / 436.4 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.6355, allocations: 35.98 kB / 436.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.6366, allocations: 91.92 kB / 436.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/0.6372, allocations: 145 kB / 436.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6373, allocations: 43.98 kB / 436.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.6398, allocations: 1.149 MB / 437.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.6398, allocations: 4 kB / 437.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003107/0.6429, allocations: 0.5586 MB / 438.4 MB, free: 1.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (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.0005999/0.6436, allocations: 198.9 kB / 438.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005998/0.6496, allocations: 3.014 MB / 441.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.6496, allocations: 3.938 kB / 441.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/0.6535, allocations: 2.047 MB / 443.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.6577, allocations: 485.4 kB / 444.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.6698, allocations: 6.341 MB / 450.5 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.6721, allocations: 2.02 MB / 452.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001842/0.6739, allocations: 407.2 kB / 452.9 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.6743, allocations: 115.4 kB / 453 MB, free: 2.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.315e-06/0.6744, allocations: 4 kB / 453 MB, free: 2.602 MB / 382.1 MB Notification: Performance of Templates: time 0.3685/1.043, allocations: 30.89 MB / 483.9 MB, free: 91.25 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)