Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.003456/0.003456, allocations: 192 kB / 16.14 MB, free: 6.598 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.945/1.945, allocations: 205.1 MB / 222 MB, free: 4.738 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.001447/0.001448, allocations: 47.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.33, allocations: 46.63 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01499/0.345, allocations: 10.07 MB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3575, allocations: 3.245 MB / 338 MB, free: 6.797 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005409/0.3632, allocations: 47.75 kB / 338 MB, free: 6.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.3673, allocations: 0.6098 MB / 338.7 MB, free: 6.137 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.3743, allocations: 0.7655 MB / 339.4 MB, free: 5.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.3765, allocations: 371.6 kB / 339.8 MB, free: 5.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006346/0.3828, allocations: 3.374 MB / 343.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/0.3863, allocations: 2.053 MB / 345.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.389, allocations: 1.156 MB / 346.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.3929, allocations: 1.627 MB / 348 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.3942, allocations: 216 kB / 348.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.3964, allocations: 331.8 kB / 348.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.3981, allocations: 0.88 MB / 349.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003728/0.4019, allocations: 1.454 MB / 350.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007021/0.4089, allocations: 4.498 MB / 355.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.409, allocations: 7.938 kB / 355.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.409, allocations: 4 kB / 355.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003346/0.4094, allocations: 0 / 355.4 MB, free: 5.309 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01562/0.425, allocations: 3.253 MB / 358.6 MB, free: 1.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001017/0.4252, allocations: 8.031 kB / 358.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.4274, allocations: 337.2 kB / 359 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006679/0.4341, allocations: 1.639 MB / 360.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.4346, allocations: 181 kB / 360.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.4363, allocations: 231.9 kB / 361 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.4499, allocations: 3.133 MB / 364.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.4501, allocations: 0 / 364.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.4512, allocations: 99.98 kB / 364.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.4514, allocations: 104.6 kB / 364.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009068/0.4605, allocations: 2.7 MB / 367 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.4867, allocations: 9.731 MB / 376.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.4908, allocations: 2.174 MB / 378.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.4931, allocations: 1.124 MB / 380.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.4936, allocations: 203.2 kB / 380.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/0.4936, allocations: 47.5 kB / 380.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.967e-06/0.4937, allocations: 0 / 380.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01863/0.5123, allocations: 6.693 MB / 387 MB, free: 4.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.5124, allocations: 68.66 kB / 387.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5172, allocations: 1.747 MB / 388.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004987/0.5178, allocations: 49.7 kB / 388.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.5192, allocations: 1.155 MB / 390 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009413/0.5201, allocations: 457.4 kB / 390.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.5212, allocations: 283.3 kB / 390.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5214, allocations: 313 kB / 391 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.5233, allocations: 0.7847 MB / 391.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.5252, allocations: 1.202 MB / 393 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/0.529, allocations: 2.095 MB / 395.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/0.5291, allocations: 4 kB / 395.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006001/0.5351, allocations: 2.67 MB / 397.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.5352, allocations: 8 kB / 397.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.5352, allocations: 12 kB / 397.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.5364, allocations: 423.2 kB / 398.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5381, allocations: 359.4 kB / 398.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008155/0.5462, allocations: 6.487 MB / 405.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.5488, allocations: 107.8 kB / 405.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/0.5493, allocations: 64 kB / 405.2 MB, free: 1.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (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 (174): * Single equations (assignments): 170 * Array equations: 0 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00259/0.5519, allocations: 0.7983 MB / 406 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/0.5528, allocations: 185.7 kB / 406.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005637/0.5584, allocations: 2.367 MB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.5585, allocations: 12 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.5585, allocations: 4 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.5585, allocations: 7.969 kB / 408.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.5724, allocations: 5.114 MB / 413.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.5725, allocations: 12.08 kB / 413.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.5737, allocations: 231.7 kB / 414 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.5751, allocations: 459.1 kB / 414.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/0.5754, allocations: 35.98 kB / 414.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009694/0.5851, allocations: 7.932 MB / 422.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.5852, allocations: 7.938 kB / 422.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008832/0.594, allocations: 3.523 MB / 425.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/0.5959, allocations: 434.7 kB / 426.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/0.5969, allocations: 39.98 kB / 426.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.5987, allocations: 87.84 kB / 426.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005146/0.5993, allocations: 116.8 kB / 426.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.5994, allocations: 36.09 kB / 426.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00344/0.6029, allocations: 1.202 MB / 427.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6029, allocations: 0 / 427.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003594/0.6065, allocations: 0.5117 MB / 428.3 MB, free: 9.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0007595/0.6073, allocations: 191 kB / 428.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005549/0.6129, allocations: 2.448 MB / 431 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.6129, allocations: 4 kB / 431 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.6164, allocations: 1.631 MB / 432.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/0.6213, allocations: 450 kB / 433 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.6373, allocations: 6.085 MB / 439.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/0.6414, allocations: 2.009 MB / 441.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002668/0.6441, allocations: 439.5 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008997/0.645, allocations: 127.4 kB / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.562e-06/0.645, allocations: 4 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Templates: time 0.2807/0.9258, allocations: 26.58 MB / 468.3 MB, free: 105.5 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)