Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00165/0.00165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001892/0.001892, allocations: 195.5 kB / 16.14 MB, free: 6.668 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.761/1.761, allocations: 205.1 MB / 222 MB, free: 4.719 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.00118/0.00118, allocations: 55.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3095, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01698/0.3265, allocations: 10.07 MB / 334.7 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.3349, allocations: 3.256 MB / 338 MB, free: 6.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.338, allocations: 47.75 kB / 338 MB, free: 6.746 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.341, allocations: 0.602 MB / 338.7 MB, free: 6.141 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.3457, allocations: 0.7693 MB / 339.4 MB, free: 5.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.3476, allocations: 355.7 kB / 339.8 MB, free: 5.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.354, allocations: 3.367 MB / 343.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.3579, allocations: 2.064 MB / 345.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3614, allocations: 1.167 MB / 346.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.3651, allocations: 1.623 MB / 348 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.3662, allocations: 220 kB / 348.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.3683, allocations: 327.8 kB / 348.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.3703, allocations: 0.8722 MB / 349.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.3736, allocations: 1.458 MB / 350.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.3788, allocations: 4.498 MB / 355.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3788, allocations: 4 kB / 355.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3788, allocations: 4 kB / 355.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.3789, allocations: 0 / 355.4 MB, free: 5.32 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.006507/0.3854, allocations: 3.249 MB / 358.6 MB, free: 2.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3855, allocations: 12.03 kB / 358.6 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.3863, allocations: 329.2 kB / 358.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.3892, allocations: 1.643 MB / 360.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3894, allocations: 177 kB / 360.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3897, allocations: 239.9 kB / 361 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005708/0.3954, allocations: 3.133 MB / 364.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.3955, allocations: 11.88 kB / 364.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.3958, allocations: 92 kB / 364.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3959, allocations: 112.6 kB / 364.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.4006, allocations: 2.692 MB / 367 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.4163, allocations: 9.731 MB / 376.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.4189, allocations: 2.178 MB / 378.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.4207, allocations: 1.116 MB / 380.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.4211, allocations: 207.2 kB / 380.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4211, allocations: 47.56 kB / 380.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.855e-06/0.4211, allocations: 4 kB / 380.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01493/0.436, allocations: 6.693 MB / 387 MB, free: 4.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.4361, allocations: 68.66 kB / 387.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.439, allocations: 1.743 MB / 388.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.4391, allocations: 45.7 kB / 388.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008404/0.44, allocations: 1.155 MB / 390 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.4404, allocations: 457.4 kB / 390.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.4408, allocations: 283.3 kB / 390.7 MB, free: 1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4409, allocations: 309.1 kB / 391 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.4422, allocations: 0.7886 MB / 391.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.4439, allocations: 1.206 MB / 393 MB, free: 14.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.4468, allocations: 2.098 MB / 395.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.4468, allocations: 4 kB / 395.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004644/0.4514, allocations: 2.663 MB / 397.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4515, allocations: 8 kB / 397.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.4515, allocations: 12 kB / 397.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/0.4525, allocations: 423.4 kB / 398.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4538, allocations: 355.4 kB / 398.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006558/0.4604, allocations: 6.495 MB / 405.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4618, allocations: 111.8 kB / 405.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.462, allocations: 63.98 kB / 405.2 MB, free: 1.68 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.001433/0.4634, allocations: 0.7906 MB / 406 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/0.4638, allocations: 189.7 kB / 406.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.4678, allocations: 2.372 MB / 408.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.4678, allocations: 24.02 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4678, allocations: 4 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4678, allocations: 11.97 kB / 408.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009603/0.4774, allocations: 5.106 MB / 413.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.4775, allocations: 4 kB / 413.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.4786, allocations: 231.7 kB / 414 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4799, allocations: 463.2 kB / 414.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.48, allocations: 31.98 kB / 414.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007886/0.4879, allocations: 7.927 MB / 422.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.488, allocations: 15.88 kB / 422.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/0.4939, allocations: 3.523 MB / 425.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.4951, allocations: 426.8 kB / 426.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004834/0.4956, allocations: 35.98 kB / 426.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4968, allocations: 91.84 kB / 426.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/0.4972, allocations: 116.8 kB / 426.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.4973, allocations: 43.98 kB / 426.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002331/0.4997, allocations: 1.198 MB / 427.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4997, allocations: 4 kB / 427.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002089/0.5018, allocations: 0.5078 MB / 428.3 MB, free: 9.734 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.0004356/0.5022, allocations: 194.9 kB / 428.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004198/0.5064, allocations: 2.453 MB / 431 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5064, allocations: 4 kB / 431 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.5091, allocations: 1.618 MB / 432.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.5121, allocations: 462.4 kB / 433 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/0.5221, allocations: 6.078 MB / 439.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.5243, allocations: 2.005 MB / 441.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001593/0.5259, allocations: 443.5 kB / 441.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.5264, allocations: 127.4 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5265, allocations: 0 / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Templates: time 0.2228/0.7493, allocations: 26.58 MB / 468.3 MB, free: 105.4 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)